1. Feature Overview
This article will help you add Buttons to your Dynamic Form.
2. Prerequisites
- To create a Dynamic Form, refer to How to Create a Form.
- The Button Special Field can be rendered only in the New UI/Marvin Application.
3. Use Case
Buttons on a Dynamic Form can be used to validate PAN/Aadhar cards, apply coupon codes, make payments, etc.
2. Add a Button Field
- On the Form Designer, click on the Special Fields drop-down and add a Button field to your form.
- Now, you can edit its field properties –
- Button Name – Enter the button’s field name.
- Button Text – Enter the display name for the button.
- Hide by default – You can choose to hide the button during form load and can be made visible again through form rules.
Note:
- A maximum of 2 Buttons can only be used per Form
- A button will remain in the Success state till the conditions (if any) associated with the ‘Button on Click’ condition are re-satisfied.
- A button will remain in a Failure state after 3 failure attempts.
- Save Button in Form will be disabled while the Actions in Button on Click Rule are executing.
3. Configure Button Rules
For example, the button field can be used to verify a customer’s PAN Number. Through Form rules, you can set up conditions to show the button when the PAN field has data, and on clicking the button, a Lapp is called to validate this data. The validation response can then be posted on a field in the form.
Any Questions?
We’d love to answer your questions or hear your own unique use cases. Feel free to share your experiences in the comments section below.