The new autocomplete feature for lookups you have introduced in Touch UI works with the DataText field of the lookup.
However a lookup has 2 attributes: DataText field AND DataValue field.
It would be really good if the autocomplete could take both as input.
For example:
Lookup: Companies
Value:01
Text:Main Company
The autocomplete could recognise 01 and retrieve Main Company
-
Vasilis, you can enter static Items on the Items tab of the field.
-
-
You did not get it!
The autocomplete recognises only DataText field as input.
It could also recognise DataValue field.
It has nothing to do with static Items.-
So you want to make it possible entering either Value or Text at runtime.
Consider creating a calculated field that includes both value and text. For example, the field value may read "01 - Main Company". Set this field as Items Data Text Field of the lookup field. Also set "Search Options" of the data field in editForm1 and createForm1 as $autocompleteanywhere.
The search will be performed anywhere. Both "01" and "My Company" will select the same value. -
-
-
-