![]() |
|
| |||||||
| Notices |
| Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder. |
![]() |
| | Thread Tools |
|
#1
| ||||
| ||||
|
I read about the "confirmation page" and it makes perfect sense. BUT. How/where do I link the submission form and the confirmation page? I'm just confused about how to tie them all together with the forms. Thanks. Ronda <SCRIPT LANGUAGE="php"> $email = $HTTP_POST_VARS[email]; $mailto = "ruth@rudesign.co.uk"; $mailsubj = "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)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); </SCRIPT> <META HTTP-EQUIV="Refresh" Content="5; URL=welcome.html"> |
|
#2
| ||||
| ||||
|
I had to improvise... I don't like the way it is right now. http://www.platinumrealtysellsjax.com/AgentInfo.html I really want to set it up like rdarko suggested. Any tips? |
|
#3
| ||||
| ||||
|
The code above should be part of your confirmation page! Well at least that's what it was designed to be;) So there's no need to redirect since the form action already redirects to your confirmation page.
__________________ Forum Moderator BlueVoda Specialist |
|
#4
| ||||
| ||||
|
I don't get it. If I have created a seperate form page, how do I tie it to the confirmation page? Aren't they (2) seperate pages in my web? When I created the contact form, do I change the action or the method? thanks. i am p.c. challenged :) Quote:
|
|
#5
| ||||
| ||||
|
Can you tell me where to put the text I want to put in? "Thank you for your interest. You will be redirected to my home page" ... etc etc. Edit the script below where necessary and place this in your CONFIRMATION page <SCRIPT LANGUAGE="php"> $email = $HTTP_POST_VARS[email]; $mailto = donna@platinumrealtysellsjax.com; $mailsubj = "Agent Inquiry"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); </SCRIPT> <META HTTP-EQUIV="Refresh" Content="5; URL=welcome.html"> Quote:
|
|
#6
| ||||
| ||||
|
I figured that one out. however. how do i get rid of the < I get on my confirmation page. also, could someone tell me how to format the text on that page? thanks. ronda please go to this page and hit send. you'll see what i mean! http://www.platinumrealtysellsjax.com/AgentInfo.html |
|
#7
| ||||
| ||||
|
If you have a <, you have copied invalid code into the HTML box. Looking at your code it contains several errors, so please follow these instructions carefully and ignore any other versions of this script on the forum;) Anyway here's the correct code and implementation one more time: 1. Create a new page with BlueVoda (let's say feedbackform.bvp) 2. Drag the Form object to the page and a draw a box to indicate the position of the form. 3. Design your form by adding some Form controls to the form: Buttons, Image Buttons, Advanced Buttons, Checkboxes, Radio buttons, Editboxes, Text Areas and Comboboxes. You can also make text and images part of the form. Notice that all objects become a part of the form, so when you change the position of the form all those objects move along. 4. Make sure your form contains a Submit button. Without this button the user will not be able to submit the entered data. 5. Once you have designed your form, you may need to set some properties. Select the form and choose Edit|Properties from the BlueVoda menu. The most important thing you need to do is specify the form action. In this case we are going to use a second (PHP) page to process the results of the form and this will be the confirmation page at the same time. So set the action property to feedback.php and remove any text from the encoding type property. 6. Publish the feedbackform.bvp page to your VodaHost account. 7. Now let's create the confirmation page using BlueVoda: 8. Create a new page with BlueVoda and save is as 'feedback.bvp'. 9. Select View->Page HTML from the menu 10. Select the Inside Body tag and enter this code: <?PHP $email = $HTTP_POST_VARS[email]; $mailto = "feedback@yourdomain.com"; $mailsubj = "Feedback form"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); ?> 11. Do the usual page formatting with BlueVoda, for example add a textbox with the text "Thanks for your feedback, your comments have been processed!" 12. Select View->Page Properties from the menu 13. Set the file extension to php 14. Publish the page feedback.bvp to your VodaHost account. Now you have two pages: 1) a page with the feedback form 2) a page that processes the input and displays a confirmation message. Notes: - Instead of feedback you can give it any name you like. - The blue text in the code above can be changed to anything you like, but be sure you keep the double quotes. Pablo
__________________ Forum Moderator BlueVoda Specialist Last edited by Pablo; 07-13-2005 at 10:36 PM. |
|
#8
| |||
| |||
|
Hi Pablo, Question re the script you have written below. I have spend many hours - (approx 14!!) trying to get my form page working. i have even had one of your lovely members have a look at my pages. www.myhomesweethome.com.au/registerapi.htm and www.myhomesweethome.com.au/confirm.htm to try and find where i am out?? - No Luck!! Does the writing you provide in blue in the script below have to be exact? I understand $mailto = " my email address" but what should the $mailsubj = ????? & $mailbody = " ????? This is the only area i can see i may be entering wrong text?? $email = $HTTP_POST_VARS[email]; $mailto = "feedback@yourdomain.com"; $mailsubj = "Feedback form"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; PLEASE HELP!! I dont know how many more hours i can go round and round. |
|
#9
| ||||
| ||||
| Replacefeedback@yourdomain.comwith you own email address. ReplaceFeedback form with you own subject line (this can be any text you like). ReplaceValues submitted from web site form with you own text (this can be any text you like). Did you follow my steps exactly as I wrote them? Looking at your page I'm missing confirm.php, so you missed at least two important steps (12 and 13). www.myhomesweethome.com.au/registerapi.htm looks fine, so now concentrate on the confirm page, do not forget to set the file extension to php (step 13) And of course make sure the PHP code is on the correct place in the webpage.
__________________ Forum Moderator BlueVoda Specialist |
|
#10
| |||
| |||
| Hi Pablo, Thanks for the reply. I think i have made some progress now. When working on the voda files in my harddrive it all worked ie: when in the confirm page it rediverted back to my registerapi page after 5 secs. The only thing that did not work was clicking on submit in the form area. I get an error 404 page – page cannot be found. When I uploaded both pages to my FTP program to go live on the web I still get this error message on my registration page and also when my confirm page diverts back to the registerapi page , it now also has the page cannot be found. I just seem to be missing something in the submit instructions and when live, it cannot refind my registerapi page? Any ideas? Oh, and one other thing I am not sure about… I made both my registerapi and confirm pages in bluevoda and saved as normal BVP. Then I click on the browser and also save them in explorer under the name only ie: registerapi. Now I have 2 registerapi’s – BVP and (explorer?). I then do the same for confirm. · I also did a blank notepad page…..inserted the script again · <SCRIPT LANGUAGE="php"> $email = $HTTP_POST_VARS[email]; $mailto = "rghome@bigpond.net.au"; $mailsubj = "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)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); </SCRIPT> <META HTTP-EQUIV="Refresh" Content="5; URL=registerapi.html"> And saved it as confirm.php. Then I uploaded all these files to the FTP program. Is this right?? |
|
#11
| ||||
| ||||
| If you follow my instructions there is no need to use a separate FTP program to upload any files manually or to write any script using notepad, it can all be done from BlueVoda. Also I never mentioned to use the line <META HTTP-EQUIV="Refresh" Content="5; URL=registerapi.html"> Although it might be usefull for other scripts, in this case it doesn't make much sence to use it and you can not put that code just anywhere in the page, it always has to be in the header section of the page. Start with step 7 (and execute every other step till 14), it's the only way it is going to work. If something is not clear let me know, but please do not add any other code until it works.
__________________ Forum Moderator BlueVoda Specialist |
|
#12
| |||
| |||
|
Help me Pablo! I have read and re-read this thread and viewed and re-viewed the tutorial videos, still, after days of working on my form, it doesn't work! I think that something is happening to the HTML when I publish the file. While in Blue Voda all looks well, but when I publish it the HTML for the form disappears. I have also tried saving the HTML in Notepad and using BlueFTP to upload the file. Still something is wrong with the file. I finally tried manually editing the file while in cPanel X and it looks ok while in the 'edit file' mode. However, when I go to the HTML Editor the HTML is messed up! What would make the HTML change like that? What in the world am I doing wrong? Thanks, Michelle |
|
#13
| ||||
| ||||
|
Pablo: I have read this thread several times and have but 1 question. I want to create a feedback form that is bi-directional. By bi-directional I want this form to be submitted to (2) separate e-mail addresses. One to be sent to myself, and one to be sent to the party I am promoting the business for. How would I create a bi-directional feedback form as described above so that both parties receive the exact form? Thank you Robert Montgomery Ram_Industries |
|
#14
| ||||
| ||||
|
__________________ Forum Moderator BlueVoda Specialist |
|
#17
| |||
| |||
| Quote:
Pablo I ahve copied these instructions to the letter. but it still doesn't work . I have Quoteform.html and Quote.php. When I submit my form I don't get an e mail in my inbox and I the page refers me to Can't find the page in IE !! What have i done wrong ? Any help would be most welcome ! Thanks John |
|
#18
| ||||
| ||||
| Quote:
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#19
| |||
| |||
|
Hi Thanks for responding the urls are www.jhgd.co.uk/Quoteform.html and www.jhgd.co.uk/Quote.php Please note that you can at present only access the quote form page from the index page(homepage) the other navigation bars on the other pages have been set to a default of www.jhgd.co.uk/Quote.html cos its working correctly. Thanks John |
|
#21
| ||||
| ||||
| Quote:
1. You have set the "action" to "Quick.php" . As you said, your php page is Quote.php. That's why you get a 404 error. Correct it. It would be wise to change also your pages names in all lower case letters. (q instead of Q) 2. You have three text field, all named "T1" that is the default name given by BV 3. Your Radio buttons don't work. That's because you didn't gave them the same group name (f.e. "Lenght units" for the first two, "Width units" for the second group.) Another thing: sometimes Encoding"" doesn't work and you have to change it in "multipart/form data". Try first as it is, if it doesn't work try changing it.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#22
| |||
| |||
|
Hi I have altered everything you said and it works beautifully. Thank you so much navaldesign your patience is much appreciated. Sometimes you can't see the wood for the trees and longer you look the more you can't see it. Or in my case seeing that Quote is indeed different to the word Quick ! Thanks once again BV is the tops ! John |
|
#23
| |||
| |||
| Quote:
Once the form has been submitted and auto sent to my inbox, i would like the re-direct to be straight back to my website and linked to a nicer, more professional page i have already built. I am sure that it is only a case of linking it all up but i wouldnt know where to put it within this script. Thanks in advance. |
|
#24
| ||||
| ||||
| Quote:
header("Location: http://www.yourdomain.com/thankyou_page.html"); before the ?> at the end of the script. Change thankyou_page.html to your page name.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#25
| |||
| |||
|
At the moment i am using this script. If you time, could you please type exactly what i should type and tell me where please mate. <HTML> <HEAD> <TITLE>Thank you, you will be contacted soon.</TITLE>((dont want this)) </HEAD> <BODY> <H2>Thank you, you will be contacted soon.</H2> <?PHP $email = $HTTP_POST_VARS[email]; $mailto = "my email address"; $mailsubj = "New Order"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); ?> </BODY> </HEAD> |
|
#26
| ||||
| ||||
|
<?PHP $email = $HTTP_POST_VARS[email]; $mailto = "my email address"; $mailsubj = "New Order"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); header("Location: http://www.yourdomain.com/thankyou_page.html"); ?> Copy this code, paste it in Notepad. Go to "Save as" , choose for "File type" "All files" and save it with the same name that you used till now, f.e. "feedback.php". Upload it on your site using Blue FTP. For the thankyou page, create and publish a normal BV page, save it as "thankyou_page" and publish it. You're done.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#28
| |||
| |||
|
I dont know why these forms are so hard as I have read through this forum many times. I'm one of those guys who doesn't like to ask directions so I have gone over my pages and php file many times. I have decided I am now LOST and I need to ask for help. My page ... This page is for a COD UO gaming group and we need a recruit form setup. http://www.toxic-army.com/recruit_form.html My form property has the Action set at recruit.php and encoding is left blank. I created a recruit.php by the steps listed above. Check the bluevoda property of recruit.php and its set to php. I have saved both files and published them. The file recruit.php is listed on server side as well. I get the following error ... *********** Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@toxic-army.lhcgroup.net and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. *********** What are my next steps? |
|
#29
| ||||
| ||||
|
In my opinion, it's something in your "recruit.php" script thet causes it. Would you mind uploading the script code?
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#30
| |||
| |||
|
recruit.php that was created using BlueVoda as note above. http://www.toxic-army.com/recruit.php <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <TITLE>recruit</TITLE> <META name="GENERATOR" content="Created by BlueVoda"> <STYLE type="text/css"> div#container { width: 800px; position: relative; margin-top: 0px; margin-left: auto; margin-right: auto; text-align: left; } body { text-align: center; margin: 0; } </STYLE> </HEAD> <BODY bgcolor="#FFFFFF" text="#000000" <?PHP $email = $HTTP_POST_VARS[email]; $mailto = "recruit@toxic-army.com"; $mailsubj = "Feedback form"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); ?>> <DIV id="container"> <DIV style="position:absolute;left:19px;top:20px;width: 150px;height:64px;z-index:0" align="left"> <FONT style="FONT-SIZE:10pt" color="#000000" face="Arial">Thanks for your feedback, your comments have been processed!</FONT> </DIV> </DIV> </BODY> </HTML> |
|
#31
| ||||
| ||||
|
I just tried your form and after i press submit, i get the thankyou message ok.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#32
| ||||
| ||||
|
Might have been a temp problem of the server, related to a problem with the mail server between yesterday and today morning.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#34
| |||
| |||
|
Hi, this is Pierre Clark. I have developed the form and the confirm page for an html page on one of the addon domains on http://www.pacnetsites.com, which is: http://www.englewoodlink.org/financiallit.html and the confirm page http://www.englewoodlink.org/financiallit.php When I type into the form and click the Register Now button, I get the confirm page displayed in the browser with all my formatting. I set up a test e-mail address to send the form to and at that test e-mail address I get an e-mail which says: From:iugwkedb@voda6.vodahost.com Add to Address Book Add Mobile Alert To:pierreaclark@sbcglobal.netSubject:Pre-Registration For Financial Literacy BreakfastDate:Mon, 10 Apr 2006 23:35:04 -0400Values submitted from Englewoodlink.org web site form: What happens is I am not getting any of the values. I have changed the Properties for the form in Edit Properties and still I don't get the values from the form fields in my e-mail. Am I doing something wrong? Thanks for any help you can provide. |
|
#35
| |||
| |||
|
Ok, I now seem to be getting the values from the form in my e-mail. Now what I am wondering is can I change the Sender that appears in the e-mail I receive to read something other than myusername@voda6.vodahost.com? Thanks again for your help.
|
|
#37
| ||||
| ||||
|
pierreclark- In the element properties of the field where you want people to put their e-mail address-- it has to be named ( email ) It has to be exactly like that ( email ) not e-mail or any other variation. Once fixed- save and publish. Should take care of the problem. 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!) |
|
#38
| |||
| |||
|
Thank you very much, that works. I have one other question. Can I put in a hidden e-mail address in the php script that will not show up in the to line. Right now, when you enter $mailto = "e-mail1, e-mail2"; both e-mails show up in the To line. I would like one e-mail address to be a hidden address. Can I use a hidden field for that second e-mail address and where do I put the hidden field in the script? Thanks for your help. Pierre Clark |
|
#39
| ||||
| ||||
|
If you don't want the second email to appear in the first and viceversa, you have to modify the script like this: <?PHP $email = $HTTP_POST_VARS[email]; $mailto = "feedback@yourdomain.com"; Change feefback@yourdomain.com with your real Vodahost account email and delete this text $mailsubj = "Feedback form"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); $mailto = "email2@yourdomain.com"; Change email2@yourdomain.com with the second email address. mail($mailto, $mailsubj, $mailbody, $mailhead); ?> Don't put it as a hidden field, as it will be visible in the html code of the page. Put it directly in the script code as shown above. Please note that since this script is NOT based on SMTP autenthication, the script will work for the second email address ONLY if the second email is on the same account, OR AT LEAST on the same server.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| question with forms | GoldDraco13 | Forms | 4 | 02-09-2006 03:49 AM |
| domain question and VodaHost affiliate program question | WeirdWM | General Support Issues | 1 | 10-25-2005 11:53 AM |
| I'm terribly sorry . . . Template question. | kakitayuri | BlueVoda - General Issues | 0 | 09-09-2005 10:44 AM |
| aarghh! Forms - Help please!!! | apic | BlueVoda - General Issues | 7 | 07-15-2005 03:43 PM |
| Question about Unlimited Email | charlwillia6 | Web Hosting Pre-Sales | 1 | 07-08-2005 11:55 AM |