Form validation
This script is currently abandoned.
For recent form validation script support, consider fomr-validation
which works with jquery and the constraint validation API built into modern browsers.
- Latest Release
- N/A
- Download
- Source Code
Validation handling features
- Data type entry (integer, percentage).
- Email address validation (simple).
- Required fields check onsubmit.
- Maxlength counter and limit for
input
and textarea
fields.
- Triggers all onchange handlers after a form reset.
- Register errors for form and individual controls [beta].
- Debug mode for testing forms.
Requirements
- Form element and all controls must have an
id
attribute.
- Controls must follow layout template (fieldset, div, label, …) [to be documented].
- Some configuration required in
body.onload
event.
Example form