Features/Forms

Form field validation

Required fields, length limits, number ranges, regex patterns and custom error messages, checked before the form is sent.

Builder fields can be required and can have rules: minimum and maximum length for text, minimum, maximum and step for numbers, and a regex pattern. Each rule can have its own error message; the form also has default Required and Error messages. The browser validates each field and step before sending. The server checks again that required fields are present.

How it works

  • Field validation sidebar: Required, Required Message, Min Length, Max Length, Pattern (Regex), Min, Max, Step, Validation Error Message.
  • Form settings: validation.requiredMessage (default 'This field is required'), validation.errorMessage (default 'Please enter a valid value').
  • errorDisplay: inline.
  • Server: missing required field answers "<fail message> | Missing required field '<name>'".
  • Field errors are shown in .dh-fb-error and the field gets .dh-fb-field-error.

When to use it

  • Require a valid email and a phone number
  • Limit a message to 500 characters

Limitations

  • Only presence of required fields is checked on the server; length, range and pattern are browser checks.

Availability

  • Works in Designer, AI Studio and MCP.

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.