PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Reset form without refreshing page

  1. Working on a large multipage form with a lot of conditional logic. If a person wants to start over they need to hit previous over and over to get there. Curious if there is a way to reset the from and essentially start it over without refreshing the entire page.

    Posted 13 years ago on Wednesday November 16, 2011 | Permalink
  2. This isn't currently a feature. There is no reset button. You would have to implement this as a customization by using custom code to add/display a button or link that refreshes the page which would clear the form and start it back on the first page.

    Posted 13 years ago on Wednesday November 16, 2011 | Permalink
  3. Why not add a button that says "Refresh" and then link that to the URL for page one of the form? Why is there a hesitation to reload the page with no information in it, starting fresh?

    Posted 13 years ago on Thursday November 17, 2011 | Permalink
  4. I'd like for this to be a feature too. Surely there can be an inline Reset button that automatically clears everything without the need for a tricky (and obviously not seamless) page refresh.

    Posted 12 years ago on Friday December 16, 2011 | Permalink
  5. You can clear form fields with JavaScript if you don't want to reload the whole page. It's not a feature of Gravity Forms, but it can be done.

    Or, more simply, you can reset a form with either of these form elements:

    [php]
    <input type="reset" value="Reset Form">

    or

    [php]
    <input type="button" value="Reset Form" onClick="this.form.reset()" />

    or Google

    Posted 12 years ago on Tuesday December 20, 2011 | Permalink
  6. I'm doing it with JS, but it takes the button out of the markup flow. It seems like something reeeeeally easy to implement in a future release. *hint hint* :)

    Posted 12 years ago on Thursday December 22, 2011 | Permalink
  7. I'll move this to the Feature Requests forum so we don't forget about it when considering features for a future version.

    Posted 12 years ago on Friday December 23, 2011 | Permalink