I want to use autocomplete (jquery or .net) with force a choice so that the user must always choose something. There can be no possibility of entry, the user can only choose.
Does anyone know how to do this??
I want to use webservice for this purpose, because the results will be a lot, and I’ll show you the first few.
I want to display text in hidden field after choosing to save the value
I want to use webservice for this purpose, because the results will be a lot, and I’ll show you the first few
Doing this with the jQuery UI widget is going to require a bit of extra work on your part. I suggest that you consider using the non-UI autocomplete plugin with the
mustMatchoption. Note, though, that if the user has javascript turned off, this will not guarantee that the value of the input is always from your set of options.EDIT: Sample parser for the autocomplete plugin. Expects an array of JSON objects of the form:
Autocomplete setup