Custom Form Field Validation

  • Updated

If you're using Zingtree's Data Entry Fields to gather information, you can use a Custom Validation field type to ensure data is entered in a proper format. For example, a Social Security number would be entered as xxx-xx-xxxx, where x corresponds to a digit.

The validation is performed using a Javascript style Regular ExpressionThis is a popular, standard way of describing patterns to match for validating input. If the data entered matches the pattern described in the regular expression, then the next button click in the node is allowed to continue.

Here's how a data entry field with Custom Validation is set up.

2022-04-27_18-31-42.png

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Didn't find what you need?

Our friendly customer support team is here to help

Submit a Ticket

Looking for help or advice?

Reach out to our knowledgeable community of users.

Zingtree Community