Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No refresh of screen when using BACK

Status
Not open for further replies.

salewit

Programmer
Oct 31, 2002
58
US
Hi there. I'm actually creating an HTML form within a PHP software product (OSCommerce) in conjunction with Formmail. When a user goes to fill out the form, and doesn't fill out all the fields, I notify them to click BACK on their browser and fill in the missing forms. But the problem is, when I click BACK, the previous screen is totally re-freshed and ALL the info that was entered is gone.

Is there a way to force or tell an HTML screen not to refresh?

What tells a browser whether to grab its cache or actually reload a screen?

Thanks and I hope I made sense.
 
Use javascript to verify that the user has entered data where and how you want. You can verify each element as they enter data or you can verify all elements when the user clicks the Submit/Send button. This way, the user never leaves the screen until all elements are as you want them. There's always a better way...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top