Set Field Error Action

Functionality

Set field error action allows you to set error on a field. This can be triggered on events with different conditions.

Steps

When using the editor to set field error, follow these steps:

1

Field Name:

Choose the field name from the dropdown list. A list of all fields within your application will be displayed, allowing you to select the desired field.

2

Error Message:

Enter the message you want to display on the field in case of an error. Enclose the message in double quotes. Additionally, you can incorporate any value stored in a field by clicking on the database icon. Alternatively, you can also utilize functions by clicking on the "fx" icon.

3

Testing:

You can test the error message by pressing the test button. The message you typed will be displayed in the result field, and its type will be shown in the type field.

4

Stop Process:

Check this box if you want to halt the process in case of an error.

5

Handling Null Values:

You can also set error messages on fields that contain null values by checking the corresponding box.

By following these steps, you can effectively configure and test error messages for fields within your application, providing clear feedback to users and controlling the error handling process.

For Example

Let's suppose we have a form that requires a person's name and age. We want to validate the age entered by the user to ensure it is greater than or equal to 10. If the age is less than or equal to 10, we will set an error action and display the message "Invalid age".

Last updated