HOT TIP: this content is flagged as highly recommended !
Keywords
Project page quote (external) Concept
This module creates a new Form API element type: colorpicker, which relies on the 3rd party integration of the jquery colorpicker. After enabling this module and downloading the relevant files from the site linked above, a new form element can be created.
This will automatically place the colorpicker into the form, allowing users of the form to choose a color from the jquery colorpicker.
HOT TIP: this content is flagged as highly recommended !
Keywords
Project page quote (external) This module adds an extra tab to each webform node, allowing you to specify validation rules for your webform components. You can create one or more of the predefined validation rules, and select which webform component(s) should be validated against those. By using the hooks provided by this module, you can also define your own validation rules in your own modules.
The following validation rules are currently included:
- Numeric values (optionally specify min and/or max value)
- Minimum length
- Maximum length
- Minimum number of words
- Maximum number of words
- Equal values on multiple fields
- Unique values on multiple fields
- Specific value
- Require at least one of two fields
- Require at least one of several fields
- Minimum number of selections required
- Maximum number of selections allowed
- Exact number of selections required
- Plain text (disallow tags)
- Regular expression
- Must be empty (anti-spam: Hide with CSS)
- Words blacklist
- Must match a username
Basically essential if you want to have tidy results from your [node/1714]s.
Keywords
Project page quote (external) This module provides a field type for email addresses. ...
No brainer; install and switch on always. Likely moving to core for Drupal8.
HOT TIP: this content is flagged as highly recommended !
Keywords
Project page quote (external) This module adds an extra tab to each field instance, allowing you to specify validation rules for your field instances.
The following validators are currently included (7.x-2.x):
- Regular expression
- Numeric values (optionally specify min and / or max value)
- length (optionally specify min and / or max length)
- number of words (optionally specify min and / or max words )
- Plain text (disallow tags)
- Must be empty (Anti-Spam: Hide with CSS)
- Words blacklist
- number of selections (optionally specify min and / or max selections )
- Unique
- Match against a field
- Match against a property
- Specific value(s)
- Require at least one of several fields
- Equal values on multiple fields
- Unique values on multiple fields
- PHP Code (powerfull but dangerous)
- URL (support internal path and external url validation)
- Email
- Pattern (Regular expression lite)
- Date range2
Following validators are included in sub module field validation extras:
- Color(HTML5)
- Date(ISO)
- EAN number
- Field collection unique
- Integer values
- IP Address
- Numeric(HTML5, with the option to specify min/max/step)
- Regular expression (Perl-Compatible)
- Phone
- Required field
- Require some of several fields
- Postal code(depend on Postal Code Validation, support Address Field)
The essential module for serious data entry control ! Although there are lots of other options for validation, and plenty of out-of-the-box validation solutions (as well as field type modules like Link that already validate for you) you had better be on top of regular expressions to get the most out of this for complex cases.
To get a quick start watch this video: Drupal Field Validation using Regular Expressions .