Clean form

How can I force clearing all input fields on a form when it loads?

Screenshot 2021-07-15 at 22.08.53

There is not much detail here on what you are trying to achieve here, when is this form loading on a page load it wouldn’t normally have any values you hadn’t defined in you can use reset to get it back to default with only values you have binded remaining.

I created a form inside a modal and whenever it initializes it already brings the last inclusion data.

From what I gather from this you need to click the form then scroll to dynamic events in the properties located bottom right, then select on data success after that use the reset option for the form shown in my screen shot

I would reset the form on submit success in the Dynamic Events.

1 Like

Thanks, works perfectly

1 Like

Adding to the already excellent replies, I tend to reset the form whenever the modal closes. That way, populated forms that were not submitted will be cleared.

2 Likes