Forum Replies Created
-
AuthorPosts
-
johndotdoe
ParticipantThanks again.
I was thinking more about what you wrote… “…the validation method is applied using a plugin”. So am I to understand that the jQuery Validation Plugin comes bundled with the Form Builder Addon Plugin?
If this jQuery Validation Plugin is also installed would you agree that I could use the remote(options) method to achieve some of my requirements? It would seem this method allows me to specify a URL defining a .php file where my function would be stored. A little more custom solution than what I was looking for but it would seem it would at least allow me to vet for values deemed valid… blue and yellow but not green in my example. I would think in this custom .php I could take the value entered and check it against some table\repository of valid values and return back a true\false.
johndotdoe
ParticipantThanks for the response.
I took a look at the URL and that appears to me to be a function to validate the format of the email address. I’m interested in validating a field… any field really… doesn’t need to be an email address… against some list of valid values. In the email example… maybe a list of email addresses that are allowed to register. Maybe a more blatant example would be if I was to have the user enter a color value in a field on the form. Maybe I want to allow them to enter blue or yellow but not green. In some cases I also might want to provide them with a “dropdown” of valid values they can pick from where in other cases I want them to enter the value without picking from or seeing a list… but I still want to validate it to see if it is allowed.
-
AuthorPosts