Clear form fields while returning back using the browser's back button.

  • Profile Image
    kenherr46
    Asked on February 13, 2019 at 04:36 PM

    Is there a way to clear the form after it is submitted.  I find that I can click Submit, get the Thank you page and then click the browser back button the date is still on the form.  How can I get that to clear?

  • Profile Image
    Kevin_G
    Answered on February 13, 2019 at 07:52 PM

    Please note that the forms are cleared upon the submission, if the users reload the form URL they will have a new empty form. 

    Now, if you're using the back browser's button the form will have the previous data pre-filled, this is a default behavior on the HTML forms. 

    Currently, there is no way to turn that function off, but I'm opening a feature request for this, although we cannot provide an ETA or ensure the feature will be implemented, we will keep you updated via this thread.

    Also, another option is to embed your form using the source code and implement some custom code to clear up the fields, this link may help with that: https://stackoverflow.com/questions/8861181/clear-all-fields-in-a-form-upon-going-back-with-browser-back-button 

    Thanks. 

  • Profile Image
    Victoria_K
    Answered on January 28, 2020 at 01:24 AM

    Hello,

    It is now possible to clear forms on Submit. If you wish to do that, please switch Allow Browser AutoComplete option to 'No' in form settings and form will be loaded empty on browser 'back' event:

    1580192392_5e2fd288b4a47_The Easiest Onl