[jQuery] [validate] Re: [validate] validate: response from "remote" rule

2009-04-09 Thread phazei
But this solution expands the form plug-in functionality by lots. At least if the response is successful. Since it specifically checks if the response is "false" on fail, you can't send anything else but that. -Adam On Apr 8, 9:13 pm, phazei wrote: > Jörn, or anyone else famili

[jQuery] [validate] response from "remote" rule

2009-04-09 Thread phazei
Jörn, or anyone else familiar with the jQuery validator and ajax I am making a form that asks for the persons address, but when they type in the zip code, I need to both check it from in a db and make sure it's listed, and if it is, return the city and state. I figured out the validator needs th

[jQuery] Re: comma-seperated multiple emails validation

2009-04-09 Thread phazei
You can use the custom methods. View source on this example: http://jquery.bassistance.de/validate/demo/custom-methods-demo.html jQuery.validator.addMethod("email_multiple", function(value, element, param) { return this.optional(element) || /^[((([a-z]|\d|[!#\$%&'\*\+\-\/=\? \^_`{\|}~]|[