Reset Button v1
A reset button in an Adaptive Form is a button that allows users to clear or reset all the form fields to their default values. When the reset button is clicked, any data that has been entered into the form fields is deleted, and the fields return to their original state. The reset button is typically used as an alternative to the submit button and provides a way for users to start over if they have entered incorrect or unwanted data into the form.
Examples
Standard
A simple Reset Button to reset the "name" field.
- Properties
- Markup
- JSON
- jcr:title: Reset
- description: <p>This is a long description.</p>
- tooltip: <p>This is a short description.</p>
- name: resetbutton_demo1675250528902
- buttonType: reset
- sling:resourceType: forms-components-examples/components/form/actions/reset
- fieldType: button
- tooltipVisible: true