Hi All,
Am not able to populate value for dropdown using inputlookup.. Nothing was listing the Dropdown. Please let me if am doing anything wrong. Thanks in advance
<fieldset>
<input type="dropdown" token="country_name">
<label>Select a user</label>
<choice value="*">Any</choice>
<populatingSearch fieldForValue="country_name" fieldForLabel="country_name">
<![CDATA[ | inputlookup country_name | fields country_name ]]>
</populatingSearch>
</input>
</fieldset>
Thanks
Sathish R
In this xml (pasted above), name of the field returned by "|inputlookup" and used in 'fieldforvalue' and 'fieldforlabel' is different. You need to add "|rename Business_unit as BUName" in your search for dropdown.
Based on the full form XML, your fields Business_unit
doesn't match up with fieldforvalue="BUName"
.
Thanks Martin.. i changed it and works fine 🙂
Simple XML:
That should work then, copying your fieldset into a SimpleXML form over here works as soon as I added a corresponding lookup by that name.
yes am getting data in regular search
In principle that's the correct way to go. Does the populating search yield results in the regular search interface for that app?
Simple XML: