Adds element validators to Drupal that that fit into Drupal's form API. Instead of writing the (almost) same _validate function over and over, you can use the element's #element_validate property when building a custom form. Drupal doesn't provide out-of-the-box functions to assign to that. (You'd still have to write the validation shell yourself.) This module does.
Implemented:
value_is_integer(with optional#minand/or#max).value_is_number(with optional#minand/or#max).value_is_email.value_is_username(with optional#existsfor it is has to exist).- Fixes Drupal core's 'file' element
#requiredbug, so now you can actually use#requiredfor non-managed files. - Improves Drupal core's 'checkboxes' element, so now you can use
#disabled_optionsand#hidden_optionsto customize your checkboxes/options list. (With server side validation!)
Project information
Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projectsNo further development
No longer developed by its maintainers.391 sites report using this module
- Created by rudiedirkx on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
