Hello folks,
I'm setting up a fairly simple website, and I've got a registration form that when you enter the wrong information, or forget to enter something, it goes to an error page with a back button. Fairly simple procedure. But the problem is that when I click back, it's refreshing the registration form, and losing all the inputted data. I have no idea what's causing this, I've tried it in Safari and Firefox and I've got some PC people to test it too, with the same results. Here is my simple back button code:
[PHP]<input type="image" name="back" width="92" height="28" src="../img/buttons/goback.gif" value="Go Back" onClick="javascript: history.back;" />[/PHP]
I've also tried...
[PHP]<input type="image" name="back" width="92" height="28" src="../img/buttons/goback.gif" value="Go Back" onClick="history.go(-1);" />[/PHP]
Any ideas? This problem is making me pull my hair out.
Take care,
Jon Marus