![]() |
|
| |||||||
| Notices |
| Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
|
jiallen I HAVE CREATED A CONTACT PAGE AND THANK YOU PAGE FOLLOWED ALL THE INSTRUCTIONS IN THE FORM TUTORIALS 3 TIMES BUT I CAN NOT GET THE THANK YOU PAGE TO OPEN NOR THE EMAIL TO WORK BEFORE YOU ASK IT WORKS EXTERNALY I THINK IT MIGHT BE IN THE HTML CODE I HAVE ENTERED THE EMAIL ADDRESS IN THE FIRST AREA AND CONTACT SUBMISSON FORM IN THE SECOND www.the-bestbookshop.co.uk |
|
#2
| ||||
| ||||
|
jiallen, Greetings. First- did you publish an action.php page? That page will contain the php code to gather the data and send it to your e-mail address. The reason I ask is that I cannot find the action.php page at all. Second- could you copy and paste the php script that you are using? That will help us to see what is going on. Andy
__________________ My diamond in the rough - www.123gpp.com * Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!) |
|
#3
| |||
| |||
| jiallen hi andy you are asking a good question at one point i entered action.php in one of the boxs if this is what you mean but is this a seperate page below is the php scipt <?PHP $mailto = "info@the-bestbookshop.co.uk"; $email = $HTTP_POST_VARS['email']; if ($email == "") { $email = $mailto; } $mailsubj = "Contact Form Submission"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form :\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { if ($key!="submit") { $mailbody .= "$key : $val\n"; } } mail($mailto, $mailsubj, $mailbody, $mailhead); ?> thanks for your help ivan Last edited by jiallen4729; 09-25-2007 at 09:25 AM. Reason: add thank you |
|
#4
| ||||
| ||||
|
action is entered in the box of the form- that is true The script is entered into the thankyou page which in this case is called action.php Therefore, you need to make the thank you page and then place the php code into that page via properties>page html>place inbewteen the body tag Then name make sure it has .php as an extension and name the page action and then save and publish. Andy PS- please post a link to the tutorial you used.
__________________ My diamond in the rough - www.123gpp.com * Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!) |
|
#5
| |||
| |||
|
ijallen hi andy i think i am going mad ihave followed your info and i still get an error page the tutorial i followed is in the link from bv click menu in the bottom frame then i followed must read under neath although my boxes are not the same as the video any further sugestions cheers ivan |
|
#6
| ||||
| ||||
|
On your form you have action as cntact.php and it should actually be contact.php Change that and then save and publish again and see if it works. Spelling and not paying attention to capitals is a big source of errors. Andy
__________________ My diamond in the rough - www.123gpp.com * Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!) |
|
#8
| ||||
| ||||
|
I take it that all is working as it should. Cheers- Andy
__________________ My diamond in the rough - www.123gpp.com * Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!) |