Basic usage
Last updated on
5 February 2018
After the module has been successfully installed, follow these steps to configure the settings:
- Go to the Content types administrative page
- Pick any of the existing content types and choose the Manage field option
- Identify and text fields that are configured to use a an input text field or a textarea (note that the module will not work on fields that have the "Filtered input" option active
- Select the Edit option on any of the fields mentioned above
- On the field's editing form locate the "Regex Field Validation" fieldset that module' specific fields
- Check the "Validate field with RegEx" option to activate the Regular Expression textarea and the Error message text field
- Insert a regular expression that you want to be used to validate the field content when a new node is created
- Insert a custom error message that should be displayed if the field doesn't validate
- Save the settings and go ahead and create a new node
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion