We’ve added validation to selected form fields to allow you greater control of what data you collect in your workflow runs.
You can add validation to:
Short and long text fields:
A minimum and a maximum number of characters.
Before or after a selected date.
Allow or block emails from a certain domain (e.g. don’t allow gmail.com or yahoo.com).
File upload fields:
Allow specified file type/s only (e.g. only accept PDFs or Jpegs (or both!)).
If you have active workflow runs with data already completed in form fields before you added validation, you would need to rectify the value so that it matches the validation criteria.
No data is lost or overwritten in your active workflow runs. Once you update the data in the form fields to meet the validation criteria, you can then complete the workflow run.
When using the API, validations are respected so that you cannot pass invalid data into a form field where validation has been set.