Hi. I the jQuery source code there is a function called onChange that sends the value of the input box to the backend server and/or checks the local cache. I've implemented a function that checks for valid characters via a regex first before send the result to the backend server for processing. I suppose you could do something similar there with the string replace function.
John On May 14, 8:58 am, Ulf Renman <ulf.ren...@gmail.com> wrote: > Hi > > When typing data into the autocomplete-field the list of matches is updated > at every key pressed. > Is it possible in any way to check and correct the data before doing the > match. Or could you alter the way the match is done. > > The perfect example is when you have lots of users entering decimal values > into a filed. Some people uses comma and some decimal-point. So you would > like to permit both "2.23" and 2,23" to be matched against 2.23 in the list. > > I have some other usecases aswell so I would really like some suggestions on > this. > > I have posted a similar question > here:http://stackoverflow.com/questions/857690/how-do-i-alter-enterd-text-... > > Thanks > /Ulf Renman