Question:

What is the JavaScript code for a confirmation page and to send to an email on a form?

by  |  earlier

0 LIKES UnLike

I can do Java Script code to have a confirmation page pop up when a user submits information on a form. I can also do the code to capture this information and send to an email. My problem is that I don't know how to set the action so that it will give the user th confirmation page and send to an email address at the same time or simultaneously. Can anyone help me?

 Tags:

   Report

1 ANSWERS


  1. Set a cookie with a particular value.  Have the page check for that value.  When the form is submitted, if the page detects that cookie with the specified value, do a window.location="URL", and you'll redirect them to the confirmation page.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.