In this guide, we will explain how to enable field validation when using the Back Navigation button to return to previous pages. By default, the "Back" button action in the Navigation field does not trigger field validation.
1. INITIAL SETUP:
- Drag and drop a “Navigation” field onto your form.
2. CONFIGURE THE “NAVIGATION” FIELD:
- Click the pencil icon of the “Navigation” field.
- Set up the "Navigation" field for the "Back" action:
- Set the "Button Action" to "Next"
- Enter the previous page number in the "Go To Page" option
- For Example, if you are on page 2, enter "1" in the "Go To Page" option.
Note: This configuration changes the Back button behaviour to validate fields. Users won't be able to skip validation when going backwards. Using the standard "Back" action will not trigger the validation.
3. TEST THE FUNCTIONALITY:
- When users click the Back Navigation button, they will be sent to the previous page, and the form will trigger validation for required fields and any other field validation rules.
For any questions, please contact us - [email protected] or the Formyoula in-app chat. 🙂