Cancel form

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
As this is only loosley php maybe someone can suggest a better group for  
this question?


Can someone help me with the code for a form. I want to have cancel and ok  
buttons after a form preview. Cancel should return the user to the previous  
page without wiping the entry fields. OK will process the form with a php  

Garry Jones

Re: Cancel form

Something like this?

<input type="Submit" value="  OK  ">
<inpuit type="button" value="Cancel" onClick="history.back()">

Site Timeline