Depending on where your autocomplete data is coming from, you could use a custom method (local data) or the remote method (remote data).
http://docs.jquery.com/Plugins/Validation/Validator/addMethod http://docs.jquery.com/Plugins/Validation/Methods/remote Jörn On Fri, Jun 27, 2008 at 2:42 AM, shapper <[EMAIL PROTECTED]> wrote: > > Hello, > > I am using AutoComplete with Validation. Can I create a validation > that accepts only values from the autocomplete? > > For example if the autocomplete list is: > "New York, London, Lisbon, Paris" > > Then the following would be accepted: > "New York, London" > "New York" > "Lisbon, Paris " > " London,Paris,Lisbon" > > But not: > "New York, Rome" > "Moscow" > > Is this possible? > > Thanks, > Miguel >