How can I validate based on a pattern?

Created by Joshua Miller, Modified on Thu, 20 Mar at 8:09 PM by Joshua Miller

Step-by-step guide

  1. Click on Modules.
  2. Select the Module with the appropriate form field to add the pattern to.
  3. Select the Forms tab.
  4. Select Field List button "Create/Update Fields".
  5. Use the filter to find field that is intended to add the pattern to.
  6. Select edit on the field.
  7. Select “Validation” tab.
  8. As depicted in the picture below, within the “Pattern” section type:

    [0-9] +([,; ] *?[0-9]+)*[,; ]*


Pattern condition as follows: Add multiple Entries.

(Example: A pattern for allowing multiple numbers that are separated by either a, or; [0-9] +([,; ] *?[0-9]+)*[,; ]* - require a comma or semicolon delimited list of numbers.)      

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article