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.

Clear form data after submission

  1. DigitalC

    After someone submits my form, if they hit the "back" button on the browser, it returns to the form with all of the data still in the fields. Is there a way to force the data to clear so that someone cannot go back and simply resubmit the same data? I have installed a captcha but someone can still go back and only have to re-enter the captcha to re-submit. I would like to be able to clear the form data so going back on the browser will show a blank form. Thanks!

    Posted 12 years ago on Tuesday February 28, 2012 | Permalink
  2. This will not do exactly what you asked, but it may do functionally what you want: Set "No Duplicates" for a field such as username or a hidden field with client ip. Then if someone clicks back on their browser and attempts to resubmit, they will get an error and the form will not resubmit. You can even write a custom validation error message telling them they have already submitted.

    Posted 11 years ago on Wednesday May 30, 2012 | Permalink
  3. DigitalC

    Ah that's interesting. Thanks for your input, I'll do a bit of experimenting!

    Posted 11 years ago on Thursday May 31, 2012 | Permalink
  4. fishnyc22

    I'm having a similar issue with a contest form. I set the email field to be no-duplicates and added recaptcha to the form. But I have some "Prize Pig" who wrote a script that goes back and resubmits the form with a random email alias. I'd love to also limit by IP address but there isn't an option for NO DUPLICATES for a hidden field. Or am I missing something?


    Posted 11 years ago on Monday August 20, 2012 | Permalink
  5. Gravity Wiz to the rescue!

    Posted 11 years ago on Monday August 20, 2012 | Permalink