Posted by GarryJones on 08/21/07 19:48
In a php session I have set up a user can input several hundred values
on a form.
I then show the user what he or she has entered on a preview page
which he or she can then click ok or cancel.
On clicking cancel the user should be backed using this code
<td>
<div align="center">
<input type="Submit" value = "Continue">
<input type="button" value="Cancel" onClick="history.back()">
</div>
</td>
I have used this before at it worked. However it now returns the user
to the previous page (form entry), but now all the values are empty.
Annoying if the user just made one simple mistake in the several
hundred entries they wanted to correct.
Any ideas what I am doing wrong?
Any other tricks to acheive this?
Garry Jones
Sweden
Navigation:
[Reply to this message]
|