Validate field values

Validate field values

There are often times when it’s necessary to validate the data entered by a signer to ensure it matches a specific format. This can include phone numbers, email addresses, passport details, identification numbers, and more. Clean Claims Sign provides the capability to choose from existing validation options for field values or create your own using regular expressions.

To do this, follow these steps:

  1. Click on the settings icon  ( ) located on the right side of the field within the form builder interface.
  2. Within the settings menu, you’ll find an option to select the validation type for the field or create your own using regular expressions.Field values validation settings
  3. Select the validation type from the list or enter your custom regular expression.
  4. Done! Now, when the document is filled out by the signer, the entered data will be validated against the chosen format.

Available validation types

Validation TypeExample
SSN123-45-6789
EIN12-3456789
Emailsupport@docuseal.com
URLhttps://docuseal.com
ZIP60604
Number only123456
Letters onlyAbcd

Regular expressions

Regular expressions are patterns used to search and validate text to ensure it matches a specific format.

Setting up custom validation for a field is similar to selecting a validation type. Instead of choosing a predefined validation type, select Custom from the list and then enter your regular expression.

Custom field values validation

Examples of regular expressions

Regular expressionDescriptionExample
[A-Z]Uppercase letters onlyABCD
^+[1-9]\d{1,14}$Phone number in international format+1234567890
^\d{2}-\d{2}-\d{4}$Date in DD-MM-YYYY format01-01-2024

    • Related Articles

    • Add field on multiple pages

      A very common scenario is to have a user enter the data once, and make it appear on multiple pages of the same document. This can be useful in case of large documents where the same data can be repeated on multiple pages. For example, you would want ...
    • Adding Document Templates to Clean Claims for Signature and Field Capture

    • How to - Add a New Cost Sheet

      Create a New Cost Sheet for Scope Items 1. Navigate to https://app.cleanclaims.com/ 2. Click "Admin" 3. Click "Project Configurations" 4. Click "Scope" 5. Click "Create cost sheet" 6. Name the Cost Sheet 7. You can copy existing prices from any other ...
    • Create a Custom Report Template in Clean Claims

      1. Navigate to https://app.cleanclaims.com/ 2. Click Admin 3. Click Project Configuration 4. Click Report Template Tip! You can modify existing templates or create new templates from this screen 5. Click Create Template 6. Select which field you want ...
    • Add initials on all pages

      Some documents require just the initials on every page, which can be challenging in case of large documents. However, with Clean Claims Sign it’s possible to do this in just a couple of clicks. To add initials on all pages: Open the document template ...