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?

1
  • 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
    Commented May 13, 2019 at 20:38

1 Answer 1

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:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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