How to remember HTML Form data after pressing Back button?


I was wondering if anyone knew of a way to have the browser remember the form data.

For example, if I write a few paragraphs into a , then suddenly press the back button or something, then it disappears and I have to write it all over again, or if they type in the Captcha incorrectly. (very annoying for website visitors).

I’ve seen some websites remember the paragraphs if something goes wrong (press back button or enter Captcha wrongly)


I thought that was a function of the browser and its cache. Most sites I visit don’t clear my text when I jump back and forth. It could be that there’s something in your form code that’s forcing the clear.

I think it’s unwise to not clear the CAPTCHA text on the back button, as a spam program may attempt some trial and error until it gets it right.

I’m not sure what could be wrong, here is the code to my HTML form:



characters still available.


characters still available.

What is the condition or grade of coin?

Good (G-4)
Very Good (VG-8)
Fine (F-12)
Very Fine (VF-20)
Extremely Fine (EF-40)
About Uncirculated (AU-50)
Uncirculated (MS-60)
Brilliant Uncirculated (MS-65)
Proof (PR-65)
Not Sure (Default G-4)
Other (list below)

Description of the coin:

Upload Images: (MAX 300KB)
Image 1: (Main Image)
Image 2:
Image 3:
Image 4:
Image 5:

<?php echo recaptcha_get_html($publickey) ?>


Let me know if you see something in the form that is forcing the data to clear.