1

Using Sitecore Forms, I have a custom submit action on a form that is redirecting to a media file; however, when the user hits back in the browser, they return to the form with the fields populated with their input. How do I clear the fields of the form so that they return to an empty form?

  • That's the default behavior of forms. The only way you can achieve your desired functionality is by emptying the form's fields when the page is reloaded. – robocup May 13 '19 at 20:38
0

There is no OOTB functionality in Sitecore.

You need to use JavaScript to achieve this.

Take a look on this older question and try to implement answer:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.