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 Expression. This 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.

    Try entering an invalid Social Security Number in the field below, then click the Continue button to see what happens.


  • 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 Expression. This 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

    Try entering an invalid Social Security Number in the field below, then click the Continue button to see what happens.


  • Throughout 2022 Zingtree will be upgrading customers to our new faster and more modern user experience! Here's how to tell which experience your Zingtree Authors are currently using.

    Log in to your Zingtree Author account and navigate to My Trees. How does your current My Trees page look?

    Zingtree Classic

    2022-02-25_12-24-51.png

    New User Experience

    mceclip0.png

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request