Skip to content
Geecon Global
Book a consultation (opens in a new tab)
Menu

Form Builder docs

Guidev0.1.1 · Updated 26 Nov 2026

Validation

The rules each field type supports, custom patterns and error messages.

Each field has a Required setting, and some types have more rules. The Preview tab runs the rules so you can test them. Your website enforces them for real: see Validation with Zod.

Rules by field type#

TypeRules
Short textRequired, minimum length, maximum length, allowed characters or a custom pattern
Long textRequired, minimum length, maximum length
EmailRequired. The format is always checked
PhoneRequired, minimum digits (default 10), maximum digits (default 15). A leading + is fine
NumberRequired, minimum, maximum, whole numbers only
Web addressRequired. It must start with http:// or https://
DateRequired, earliest date, latest date (YYYY-MM-DD, or today)
TimeRequired, earliest time, latest time
Dropdown, Radio buttonsRequired
CheckboxesRequired, minimum choices, maximum choices
Yes/NoRequired means the answer must be yes
ConsentRequired means it must be ticked
HiddenNone

Where a minimum and a maximum are both set, the builder reports an error if the minimum is larger.

Allowed characters and custom patterns#

A Short text field can limit what people type: Letters only, Numbers only, Letters and numbers, or a Custom regular expression. The builder checks that a custom expression is valid. Long text has no patterns.

Error messages#

Each rule has a message. Your website looks for the field's own message first, then the form-wide message for that rule. So you can write one clear default and override only the odd one.

  • Field message: set in the field's settings under Error messages, and stored as <fieldId>.errors.<rule>.
  • Form-wide message: set in the app configuration under Default texts. New forms copy these, so each form keeps its own copy.

A message can include {limit}, which your website replaces with the limit, as in Enter at least {limit} characters. Messages are translated like any other text. See Translations.

The error summary, a title and a line of text shown above the fields after a failed submit, is set in the Settings tab.