You can validate the data entry in text fields (for example, contact name, email address, or telephone number) to enforce specific format requirements. You create the data validations for text fields by defining the regular expressions that apply to the different types of text fields.
Note: A regular expression is a text string that describes a particular pattern or format. Regular expressions are used to validate text to ensure that the text matches a predefined format. For example, create a regular expression to specify the correct format for an email address, telephone number, or IP address.
Important! Compose and test your regular expression before creating the text field data validation. You can find resources on the Web for creating, analyzing, and testing regular expressions.
Follow these steps:
The configuration of the page is enabled.
Note: Permissions for data validation are allowed by default. You can deny data validation permissions for the current configuration. The users assigned to the configuration do not then see the Data Validation icon and cannot add data validations.
For example, when configuring a legal document, you select Legaldoc Status History in the Object drop-down list. You deny permissions to move fields for that part of the object (the status history). The permission changes apply only to the status history part of the object, and not to the other parts of the object.
Important! Global configuration changes affect all users, regardless of their role. Local configuration changes only affect users in the roles that are assigned to the selected configuration.
Important! Verify that you selected the correct regular expression for the field type and that you entered the regular expression accurately.
Note: To modify or delete an existing data validation, complete one of the following steps:
When you assign the configuration to a role, users in the role receive data validation messages if their text entries do not match the defined format.
|
Copyright © 2013 CA.
All rights reserved.
|
|