Downloads
Mootool Form Validation 1.0 |
| usage var myFormValidation = new Validate('myForm',{ errorClass: 'red' }); options - validateOnBlur
- item is automatically validated on the onBlur event. Default: true
- errorClass
- the css class for the item. Default: 'error'
- errorMsgClass
- the css class of the inline error message. Default: 'errorMessage'
- showErrorsInline
- this shows the error messages after the item, inline. This needs to be on for validateOnBlur. Default: true
- dateFormat
- the format of any date entered. Default: 'dd/MM/yy'
- label
- the label on the submit button when the form is submitted. Default: 'Please wait...'
- onFail
- a function that is called when the validation fails. A list object containing the errors is passed to this function. The form is not submitted.
- onSuccess
- a function that is called when the validation is successful. The form object is passed to this function. The form is not submitted.
|
|
|
Data
|
| Size |
10 KB |
| Downloads |
24 |
| Language |
English |
| Licence |
GNU/GPL  |
| Author |
|
| Website |
Homepage  |
| Price |
Free |
| Created |
2009-08-31 |
| Created by |
admin |
| Changed at |
|
| Modified by |
|
|

|
|
|
|
|
Add comment