Form Element – Set as Not Mandatory
Business Background
Mark all the fields in a form as not mandatory.
Titan Solution
The form element lets you mark all the fields in a form as not mandatory instead of marking the individual elements on a form as mandatory or not. Any individual fields in the form that were marked mandatory will be marked as not mandatory when you use this option.
You can use it with any conditional logic. You can also mark all the fields in a form as not mandatory.
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. (Some fields are marked as mandatory in this example.)
2. Add a name to the form under Metadata > Tag.
In this example, we add the form interactivity to a button.
- Click the On Click Action icon. The On Click Action screen opens.
- Click the + icon. The Add Node screen opens.
- Under Element Interactivity, click Form Interactivity and then click 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 you added as part of the prerequisites.
- Click the Set as mandatory radio button and then click the Next button. The Form Interactivity is added to the On Click Action screen.
- Click the Apply button.
- Save and Preview the project.
When the user clicks on the button, all the fields in the form will be marked as not mandatory. This option overrides any individual field settings.
Click here for more information on the different types of form interactivity.