Component methods
Component methods provide you with more flexibility when working with components. Using the methods, you can programmatically open and close a components, set a new or reset the current value, and other.
Let's check how to reset a form after updating a record and submitting the form.

- 1.Add a form to the working area, find the form's On Submit trigger, and click Add a new action.
- 2.Select a multistep action and add an update action first.
- 3.Add a Code step next and specify the code:
{{ui.yourForm.reset()}}
- 4.Finally, add the Execute action step and select the load data action to complete the action.
Now, when you submit a form, it will return to the default condition after its submission.

The guide on how to open and close the modal programmatically is available below:
Last modified 7mo ago