Form Validation Behaviour
Validation has two purposes: guide the user while they move through a form, and prevent an incomplete or invalid form from being finally submitted. Navigation therefore checks the page being left, while final submission checks the form as a whole.
Behaviour by scenario
| Scenario | What is validated | Result when validation fails |
|---|---|---|
| Next | The current page | The user stays on the page for a normal validation error. A bypassable error is shown, but the user may continue. |
| Back | The page being left | The page status and error summary are refreshed, but the user can always go back. This also applies to the browser Back button. |
| Select a page in the navigation | The page being left | Its status is refreshed, but navigation to an available page is not blocked. Pages that are not yet available remain unavailable. |
| Navigate → Navigate to the Next page | The current page | Behaves like the standard Next button. |
| Navigate → Navigate to the Previous page | The page being left | Behaves like the standard Back button and does not block backward navigation. |
| Navigate → Navigate to another page | The current page | Behaves like forward navigation: a normal error blocks the action; a bypassable error allows it. |
| Validate Form | The configured scope | If validation fails, later events in the same event chain do not run. The default scope is all visited pages; it can instead be configured for the current page. |
| Save | The saved form, including visited pages | The draft is still saved. Validation refreshes error messages and page status; it does not turn Save into Submit. |
| Draft Submit | Final-submit validation is not enforced | The configured draft subset may be sent while the journey is incomplete. A later full Submit still requires valid data. |
| Submit | All applicable visited pages | Submission is blocked until every normal and bypassable validation error is corrected. |
| Reload or resume a saved record | All applicable pages the user has previously visited, after saved values, lookups, and visibility rules are restored | The landing page is not changed or blocked. Error summaries and navigation status are recalculated for previously visited pages. Future pages the user has not visited are not validated. |
Visibility and applicability
Validation uses the form's current state. The existing visibility and applicability rules for page groups, pages, sections, fields, and conditional rules continue to apply.
| Current state | Validation behaviour |
|---|---|
| Page, section, or field is currently hidden or not applicable | Its fields do not block navigation or submission. |
| A change makes previously hidden content visible and applicable | Its fields participate in the next relevant validation pass. |
| A change hides content that previously had errors | Those hidden fields no longer block the user while they remain inapplicable. |
| Editable repeating row has not been started | The unused row is not treated as incomplete user data. |
| Existing populated or required table row | It is validated under the normal field rules. |
| Fields inside a modal section | They are validated by the action configured to validate that modal scope, rather than by ordinary whole-form validation. |
| Saved record is reloaded or resumed | Saved values, lookups, and visibility rules are restored first; validation then checks only applicable fields on previously visited pages. |
This allows configurators to use display and conditional rules without hidden questions unexpectedly preventing the user from continuing or submitting.
Bypass Validation
Bypass Validation means “allow progress now, require correction before final submission.” It does not remove the rule.
| Action | Normal validation error | Error with Bypass Validation |
|---|---|---|
| Next or Browse to Page | Blocks forward navigation | Shows the error and allows navigation |
| Back or select an available page | Records the error and allows navigation | Records the warning and allows navigation |
| Save | Saves the draft and records its validation state | Saves the draft and keeps the warning for final submission |
| Submit | Blocks submission | Blocks submission |
Use bypass when the user may reasonably continue without the answer for now, but the answer must be valid before the journey is completed. Do not use it for information that must be present before the user can safely leave the page.
Configuration guidance
- Put validation on the field that owns the requirement.
- Use conditional validation when the requirement only applies for particular answers.
- Add Validate Form before another configured event when that event must run only after its chosen validation scope passes.
- Test forward, backward, direct-page, Save, reload/resume, and Submit paths when page visibility or conditional validation can change during the journey.