Common validation patterns

The Rules tab offers built-in validators for everyday cases. Pick a rule, set a clear Message, and test in Preview.

Pattern reference

GoalRule (typical name)
Cannot be blankNon empty / Required
Valid emailEmail
Minimum lengthMin or Length
Maximum lengthMax or Length
Number rangeMin / Max (numeric)
Patterned text formatRegex (often developer-assisted)
String logic beyond these rulesCode (usually developer-reviewed)

Add a rule

  1. Select the field → Rules.
  2. Click Add a validation rule.
  3. Choose the type and edit Message so users know how to fix the error.
Rules tab with validation rule picker.Rules tab with validation rule picker.

A Code rule is a field validator written in Designer for a supported string field; it is not a Code action. The application’s Custom actions are configured on the Actions tab and do not replace field validation rules.

Test

Preview mode to test validation patterns.Preview mode to test validation patterns.
  1. Preview → leave field invalid → Validate or tab out if Auto Validate is on.
  2. Read the message in Errors on the left (Preview mode tools).

Summary

Built-in rules cover common validation needs on Rules. User-facing Message text matters as much as the rule type.

See also