Form Handling after Submit

WHen I create a frontpage form I want to display a THANK YOU message after the user hits submit which is easy but I want A button on the Thank you for that the user can click on to close that form and take them back to where they were before the form, not to a cleared form.
pinkstonmAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ClassyLinksConnect With a Mentor Commented:
Try This:

<form>
<Input type="button" name="Return" value="Click Here to Return" onclick="history.go(-2)">
</form>
0
 
ClassyLinksCommented:
Take them back to the form...with the information they just filled in completed or to the page prior to the form?

Do you know which page they will have been at prior to the form or will it vary?
0
 
pinkstonmAuthor Commented:
THe form they were on will vary.  I would just like to do a double return or previous in other words.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
ClassyLinksCommented:
How did it work Pink?
0
 
ClassyLinksCommented:
Pinkstonm......please let me know how it worked, and if it didn't we can try another solution.
0
 
ClassyLinksCommented:
Pink....please come back!
0
 
alsaeed_sCommented:
I tried it and it works perfectly
0
 
ClassyLinksCommented:
Thanks alsaeed....now we just need Pink to grade the question.
0
 
ClassyLinksCommented:
Pink this question has been open for two weeks, without comment from you.

Please return or I will report the question as abandoned to CS and request that my answer be accepted as correct.
0
 
pinkstonmAuthor Commented:
Thanks sorry for the delay
0
All Courses

From novice to tech pro — start learning today.