Forums

Validation based on predefined list

combicart 22 Feb, 2010
Hello,

Is it possible to validate a field based on a predefined list? I've created a list with 100 unique codes. If the code entered in the form is on the list, the field is valid. If it isn't on the list, the field isn't valid.

Thanks!
GreyHead 22 Feb, 2010
Hi combicart,

You can do this with server-side validation (after the form is submitted); with a custom LiveValidation, or with custom AJAX.

Bob
combicart 23 Feb, 2010
Thanks! Will try this method.
This topic is locked and no more replies can be posted.