Modifying the server request The parameter containing the input value, sent to the server, will by default have the same name as the input.
You can however set your own parameter name by using the attribute By using the module sanitize you will be able to declare sanitation functions that will be triggered when inputs looses focus.
Here you can see an example code where we collect all the error dialogs during the validation and pass them on to a custom function displaying the error dialogs.
Return false to prevent the default behaviour when adding/removing error messages.
Example: $.validate(); /* Supported languages ------------------- Polish: pt Romanian: ro Danish: dk Norwegian: no Dutch: nl Czech: cz Catalan: ca Russian: ru Italian: it French: fr German: de Swedish: se English: en Portuguese: pt */ if you want to validate a form programmatically. The first argument being an object used to override the default error dialogs and the second argument being the configuration object.
validator Function - Callback function that validates the input.
Should return a boolean telling if the value is considered valid or not.