Handle errors

Overview

When an error occurs in a form flow, an error message is displayed to the user.

This document explains how error handling works in Fortified ID Forms and how you can customize error messages to fit your requirements and user experience.

Default behavior

By default, a popup notification is shown whenever a step in the flow fails.

Both the content and behavior of this error message can be customized using translation keys and configuration settings in your Forms project.

The default translations can be customized by the following translation keys

Handling errors with FlowFail valve

If a pipe fails due to a FlowFail configuration, the error message is resolved using the configured translation keys.

The system will attempt to find a translation matching the FlowFail key.

If no matching translation is found, the default key forms.retry.error is used instead.

Note: The message from will ALWAYS pass thru the translation.

Configuration

FlowFail valve

Translation

Customize message from all other valves

All other errors that are not triggered by FlowFail are handled through the Forms configuration under Retry Notification, mentioned in Forms/Key components/Step/Retry Notification. .

This allows you to define custom patterns and translation keys for different error scenarios, enabling more descriptive and user-friendly error messages.

Configuration

Logfile

Translations

Retry notification

Last updated