Last updated 2 August 2016. Created on 4 October 2011.
Edited by hansfn, g089h515r806. Log in to edit this page.

Field validation adds an extra tab to each field instance, allowing you to specify validation rules for your field instances.

See the project page for a complete and up-to-date list of validation rules that are included.

Lullabot has written about this module and the regular expression validator: Write complex validation rules for your fields.

Looking for support? Visit the forums, or join #drupal-support in IRC.


Atiher’s picture



How set the input field, where valid numeric values are "n" OR "n+x", forexample: 10 characters, OR 15 characters. No 10 AND 15!

If I set Numeric values: Minimum value 1000000000, Maximum value 999999999999999 is no correct, because will allow 10, 11, 12, 13, 14, 15 characters, no 10 OR 15 characters.

Please help me!