Skip to main content

Enable Validation

1

Add Fields

Add your form fields
2

Enable

Toggle Custom Validation

Write Validation Expression

The expression receives all form data and returns:
  • undefined if valid
  • Array of error objects if invalid

Example: Minimum Selection

Require at least 5 projects:

Example: Required Together

If warehouse is selected, region must be too:

Error Object Format

Testing Validation

1

Enter Test Data

Enter example input data
2

Write Expression

Write your expression
3

View Output

View the output
4

Verify

Verify errors appear for invalid data

Example Input

Example Output (invalid)