View Full Version : Back buttons

Mar 29th, 2007, 10:24 AM
I have multipage form. I am inserting into the DB (Access) after each page of the form. On each page I have back button, so that the user can go back and modify.
I have two problems:
1. My back button is not working :
<input type="button" value="Back" onclick="goback();"/>
error: This page cannot be displayed. :(
2. When the user goes back the form should keep the previous data.

Any ideas?


Philip M
Mar 29th, 2007, 01:15 PM
The syntax is


Mar 29th, 2007, 09:09 PM
Phillip there is a typo in your answer.

onclick should be all lowercase with no capitals. Javascript is case sensitive and onClick is not defined. You can get away with the error in HTML because HTML is not case sensitive and so converts it to the all lowercase version before giving it ti Javascript.

Philip M
Mar 30th, 2007, 07:54 AM
Stephen, yes indeed. Sorry! Fat finger syndrome!