close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Creating a "confirm.php" for contact/order form

Thread began 2/15/2011 7:23 am by rikaG_510 | Last modified 2/18/2011 11:13 am by rikaG_510 | 5356 views | 5 replies

Jason ByrnesWebAssist

Really what you are doing is what is called a multi page form.

Set the order form to post to the confirm page.

On the confirm page, create a hidden form element for each element on the order form page that will capture the value being posted from the order form page, you can also display those values to the user, for example, say you have an element on the order form page for First name named "first_name:

php:
<input type="text" name="first_name" id="first_name" value="" />



you can display this on the confirm page using:

php:
First name: <?php echo((isset($_POST["first_name"]))?$_POST["first_name"]:""?>




and also create a hidden form element of the same name to capture the posted value:

php:
<input type="hidden" name="first_name" id="first_name" value="<?php echo((isset($_POST["first_name"]))?$_POST["first_name"]:""?>" />




then set the confirm page to post to itself add the universal Email behavior, set the trigger to current page submit.

Select the option to Create a file for the email. This will send the confirm page form in an email when the submit order button is pressed.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...