Form Element – Is Changed and Reset Changed State Flag
Business Background
Show a message when elements on a form change.
Titan Solution
You can use conditional logic to show a message when the contents of input elements on the form change. You can use it with any conditional logic.
How to Video
Coming soon!
How to Guide
Learn more about the different types of form interactivity.
Prerequisite:
1. Add a form and populate it with elements.
The following two radio buttons on the Form Interactivity screen are described:
In this example, two buttons were also added to demonstrate the Form Interactivity added to the On Click Action functionality of each button.
Is changed option
- Select the On Click Action icon. The On Click Action screen opens.
- Select the + icon. The Add Node screen opens.
- Under Element Interactivity, select the Form Interactivity option and select the Next button. The Add Node/Form Interactivity screen opens.
- Use the Form element drop-down list to select the form. This is the name of the form.
- Select the Is Changed radio button and select the Next button. The Form Interactivity node is added to the On Click Action screen.
- Add a tag if necessary and select the Insert button.
- Select the + icon next to the On Changed option. The Add Node screen opens.
- Select the Show message option and select the Next button.
- Add a message, for instance, “Is changed”, and select the Next button. The Show message node is added to the Form Interactivity node on the On Click Action screen
- Add a tag if necessary and select the Insert button.
- Select the + icon next to the On Not Changed option. The Add Node screen opens.
- Select the Show message option and select the Next button.
- Add a message, for instance, “Is not changed”, and select the Next button.
- Add a tag if necessary and select the Insert button. The Show message node is added to the Form Interactivity node on the On Click Action screen
- Select the Apply button.
- Save and Preview the project.
When no changes were made to the form and a user selects the Is Changed button, the “Is not changed” message will show.
If changes were made to the form, and a user selects the Is Changed button, the “Is changed” message will show.
Reset Changed State Flag
- Select the On Click Action icon. The On Click Action screen opens.
- Select the + icon. The Add Node screen opens.
- Under Element Interactivity, select the Form Interactivity option and select the Next button. The Add Node/Form Interactivity screen opens.
- Use the Form element drop-down list to select the form. This is the name of the form.
- Select the Reset Changed State Flag radio button and select the Next button. The Form Interactivity node is added to the On Click Action screen.
- Add a tag if necessary and select the Insert button.
Learn more about the different types of form interactivity.