Skip to end of banner
Go to start of banner

PCF - Regular Expression (RegEx) Custom Field

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

The Regular Expression (RegEx) custom field enables you to validate a text custom field against a regular expression.

This field is useful for verifying the following information type examples: Social Security Numbers, phone numbers, zip codes, currency, date formats, and many others.

Configuring the PCF Regular Expression (RegEx) Custom Field

  1. Add the PCF Regular Expression custom field.

  2. Go to the Configure link for this field. You will see a page similar to the following example:

    image-20240212-151325.png

  3. Click the Edit Regex link to configure the regular expression.

    image-20240212-151530.png
  4.  Click the Save button, and the regular expression will be associated to the current custom field.

    image-20240212-151556.png

Testing the PCF Regular Expression (RegEx) Custom Field

  1. Go to an issue and edit the field with a value that does not match the regex.

  2. If you try to save the changes, an error message will appear:

    image-20240212-151800.png
  3. For more regex examples, search for your issue in the RegExLib site.

  • No labels