Copy link to clipboard
Copied
hello, i am working on a small site for someone. basically it is for a moving company. when one goes to the homepage you have the option of filling in a small form then after you click submit, it will take you to a more detailed question form which will already be filled in with the previous questions. i have the php all set up for the "quote" form and it works great but cannot figure out how to link up the "homePage" form to the "quote" form. any answers or direction would be greatly appreciated. i have sample of the page on my website. the sample "homepage" is www.gsixdesign.com/100109A.html while the sample "quote" page is www.gsixdesign.com/home.html. disregard the large green strip as it is just a holder for a flash movie. i am completley self taught in dreamweaver so you will not offend me. thanks again. what i am kind of lookin for is www.123movers.com
Copy link to clipboard
Copied
To pass the parameters of a form to another page simply echo the GET or POST form the first page into the value of the new form page. So the inout field on form page 2 will look something like this:
<input type="text" name"form_field" value="<?php echo $_POST['form_page_1_input_name']; ?>">
I looked at your homepage source and the action goes to default.asp despite the fact you mentioned php in your OP. That will surely give you problems. The quote page you mentioned is a dead link.
Copy link to clipboard
Copied
kind of follow what you are saying but will have to kind of go trial and error. the quote page is actually www.gsixdesign.com/quote. the asp on the homepage was a mistake. from your earlier response. you have to write a php that sends the info to the quote page? thanks for your quick response
Copy link to clipboard
Copied
>you have to write a php that sends the info to the quote page?
No, it doesn't need to be a php page. Any html form can send the data to the quote page.