Clear field values when the Back button is clicked

  • GrassWorxLLC
    Asked on June 14, 2024 at 9:21 AM

    I have a form that I need values to be cleared when the back button is pressed, so my conditionals work properly.

    In settings, I have selected Clear Hidden Field Values (Clear whether or not to clear values for fields hidden by conditional logic), but I need to know if there is a way to get these fields to hide when the back button is pressed or something along those lines.

    Please let me know.

  • Jovito JotForm Support
    Replied on June 14, 2024 at 9:32 AM

    Hi Kaylee,

    Thanks for reaching out to Jotform Support. I'm afraid that clearing the form with the click of the "Back" button will not be possible, as its intended use is to take the user to the previous page. Now, if you're using the back browser's button the form will have the previous data pre-filled, this is the default behavior on the HTML forms.

    Let us know if you have any other questions.


 
Your Answer