Restrict Content

The Restrict Content validation checks the contents of a specified server variable to determine if its value exactly matches, includes, begins with, or ends with a value specified within the validation. Values that match are replaced by text associated to that value. It can also be configured to accept blank entries.



Set the configuration options and click OK to complete configuration of the validation within the Server Validation dialog.

Build the list of terms that the validation does not allow to be entered, as well as text to replace those terms with (optional):
  • The Don't allow section populates and updates your list of terms in the display pane.
  • To add a term and its replacement to the list:
    1. Enter the term that is not allowed.
    2. Select how the validation checks against the contents of the form element for that term. Available options are:
      • exact: only validates against exact matches of the term.
      • includes: validates against the inclusion of the term in all text entered, even within other words.
      • begins with: only validates against text that begins with the term
      • ends with: only validates against text that ends with the term
    3. In the Replace with: field, enter text which will replace text that does not pass the validation.
    4. Click the Plus (+) button to add the term to the list.
  • To update an existing term in the list:
    1. Select the term to be updated from the list.

      The term and its configuration will populate the Don't allow area of the dialog.
    2. Make any necessary text or configuration changes.
    3. Click the Update button to apply your changes.
  • To remove an existing term from the list:
    1. Select the term to be removed.
    2. Click the Minus (-) button to remove the term from the list
  • Allow blank entry: configures the validation to allow blank entries or not allow them.