I’ve got a Value list based on a table with Subcontractor company names.
Most of the company names begin with the same couple of words:
Bouwbedrijf Anders
Bouwbedrijf Zus
Aannemersbedrijf Bob de Bouwer
Aannemersbedrijf Hans Zagers
Because if this selecting a company is not very user-friendly in a type-ahead field.
So I was wondering if a type-ahead field support searching with wildcards in this valuelist?
i.e.: the user types: ‘*anders’ to select ‘Bouwbedrijf Anders’
How many entries will this valuelist have eventually?
Seems to me this can be a long list, which will bring you trouble anyway.
Good practice for these kind of things is to build a form which can be shown as a popup selecting this subcontractor name.
As this form is based on real records, you can create any filter mechanism you like.
There is also an Open Source module that does exactly what Marc proposes…
Check out Robert’s JSListPicker module on ServoyForge (where all the good guys go): Overview - JSListPicker module - ServoyForge