You are here

README.txt in Value is 7

Value is (form element validators)
====

Adds element validators to Drupal that Drupal itself should have had.
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 decent functions to assign to
that. (You'd still have to write the validation shell yourself.) This
module does.

Implemented
----

* Integer (with optional `#min` and/or `#max`)
* Number (with optional `#min` and/or `#max`)
* E-mail (with optional `#max` for multiple addresses separated by comma's)
* User name (with optional `#exists` if it has to exist in the `{users}` table)

To do
----

See issue queue: http://drupal.org/project/issues/value_is?status=Open&categories=feature

File

README.txt
View source
  1. Value is (form element validators)
  2. ====
  3. Adds element validators to Drupal that Drupal itself should have had.
  4. Instead of writing the (almost) same `_validate` function over and over,
  5. you can use the element's `#element_validate` property when building a
  6. custom form. Drupal doesn't provide decent functions to assign to
  7. that. (You'd still have to write the validation shell yourself.) This
  8. module does.
  9. Implemented
  10. ----
  11. * Integer (with optional `#min` and/or `#max`)
  12. * Number (with optional `#min` and/or `#max`)
  13. * E-mail (with optional `#max` for multiple addresses separated by comma's)
  14. * User name (with optional `#exists` if it has to exist in the `{users}` table)
  15. To do
  16. ----
  17. See issue queue: http://drupal.org/project/issues/value_is?status=Open&categories=feature