Closed Thread
Results 1 to 40 of 40

Thread: another forms question
      
   

  1. #1
    rdensford's Avatar
    rdensford is offline Sergeant
    Join Date
    Jun 2005
    Posts
    33

    Default another forms question

    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. #2
    rdensford's Avatar
    rdensford is offline Sergeant
    Join Date
    Jun 2005
    Posts
    33

    Red face

    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. #3
    Pablo is offline Moderator
    Join Date
    May 2005
    Posts
    507

    Default

    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. #4
    rdensford's Avatar
    rdensford is offline Sergeant
    Join Date
    Jun 2005
    Posts
    33

    Default hmmm

    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 Originally Posted by Pablo
    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.

  5. #5
    rdensford's Avatar
    rdensford is offline Sergeant
    Join Date
    Jun 2005
    Posts
    33

    Default

    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 Originally Posted by Pablo
    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.

  6. #6
    rdensford's Avatar
    rdensford is offline Sergeant
    Join Date
    Jun 2005
    Posts
    33

    Default

    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. #7
    Pablo is offline Moderator
    Join Date
    May 2005
    Posts
    507

    Default

    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
    Last edited by Pablo; 07-13-2005 at 10:36 PM.
    Forum Moderator
    BlueVoda Specialist

  8. #8
    apic is offline Private First Class
    Join Date
    Jul 2005
    Posts
    7

    Default

    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. #9
    Pablo is offline Moderator
    Join Date
    May 2005
    Posts
    507

    Default

    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. #10
    apic is offline Private First Class
    Join Date
    Jul 2005
    Posts
    7

    Default Pablo -How about this??

    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. #11
    Pablo is offline Moderator
    Join Date
    May 2005
    Posts
    507

    Default

    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. #12
    Michelle is offline Private First Class
    Join Date
    Dec 2005
    Posts
    7

    Default Re: another forms question

    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. #13
    Ram_Industries's Avatar
    Ram_Industries is offline First Lieutenant
    Join Date
    Dec 2005
    Location
    Pittsburgh, Pa
    Posts
    164

    Post Re: another forms question

    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. #14
    Pablo is offline Moderator
    Join Date
    May 2005
    Posts
    507

    Default Re: another forms question

    You can try:

    $mailto = "email1@server.com;email2@server.com";
    Forum Moderator
    BlueVoda Specialist

  15. #15
    Ram_Industries's Avatar
    Ram_Industries is offline First Lieutenant
    Join Date
    Dec 2005
    Location
    Pittsburgh, Pa
    Posts
    164

    Post Re: another forms question

    Thank you Pablo:

    Can a forwarded approach in cpanel work as well in creating such a form?

    Robert Montgomery
    Ram_Industries

  16. #16
    matthias is offline Private
    Join Date
    Jan 2006
    Posts
    1

    Default Re: another forms question

    please i want to have my own website so that i can promote bluevoda.

  17. #17
    JHGD is offline Corporal
    Join Date
    Feb 2006
    Posts
    18

    Default Re: another forms question

    Quote Originally Posted by Pablo
    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








    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. #18
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: another forms question

    Quote Originally Posted by JHGD
    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
    Give me the URLs of your pages and i'll have a look
    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. #19
    JHGD is offline Corporal
    Join Date
    Feb 2006
    Posts
    18

    Default Re: another forms question

    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

  20. #20
    JHGD is offline Corporal
    Join Date
    Feb 2006
    Posts
    18

    Default Re: another forms question

    Sorry should read its not working correctly ( the form that is !)

  21. #21
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: another forms question

    Quote Originally Posted by JHGD
    Sorry should read its not working correctly ( the form that is !)
    Well, there are some errors in your form:

    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. #22
    JHGD is offline Corporal
    Join Date
    Feb 2006
    Posts
    18

    Default Re: another forms question

    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. #23
    Bluenose is offline First Sergeant
    Join Date
    Feb 2006
    Location
    Edinburgh
    Posts
    71

    Default Re: another forms question

    Quote Originally Posted by Pablo
    <?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);
    ?>
    This all worked fine for me with the script. I want to take it a step further now and instead of having a simple, THANKYOU FOR YOUR FEEDBACK in text on an otherwise blank page, i would like it to happen like this.

    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. #24
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: another forms question

    Quote Originally Posted by Bluenose
    This all worked fine for me with the script. I want to take it a step further now and instead of having a simple, THANKYOU FOR YOUR FEEDBACK in text on an otherwise blank page, i would like it to happen like this.

    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.
    Just add this line:

    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. #25
    Bluenose is offline First Sergeant
    Join Date
    Feb 2006
    Location
    Edinburgh
    Posts
    71

    Default Re: another forms question

    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. #26
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: another forms question

    <?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!


  27. #27
    Bluenose is offline First Sergeant
    Join Date
    Feb 2006
    Location
    Edinburgh
    Posts
    71

    Default Re: another forms question

    your a star, thanks.

  28. #28
    slaughter is offline Private First Class
    Join Date
    Feb 2006
    Location
    Oregon
    Posts
    5

    Default Re: another forms question

    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. #29
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: another forms question

    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. #30
    slaughter is offline Private First Class
    Join Date
    Feb 2006
    Location
    Oregon
    Posts
    5

    Default Re: another forms question

    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. #31
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: another forms question

    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. #32
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: another forms question

    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!


  33. #33
    slaughter is offline Private First Class
    Join Date
    Feb 2006
    Location
    Oregon
    Posts
    5

    Talking Re: another forms question

    Crazy. I guess I had it correct after all. lol

    Thanks!

  34. #34
    pierreclark is offline Corporal
    Join Date
    Mar 2006
    Posts
    14

    Default Re: another forms question

    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 -0400

    Values 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. #35
    pierreclark is offline Corporal
    Join Date
    Mar 2006
    Posts
    14

    Default Re: another forms question

    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.

  36. #36
    pierreclark is offline Corporal
    Join Date
    Mar 2006
    Posts
    14

    Default Re: another forms question

    Ok, I think I solved that problem as well. Thanks.

  37. #37
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: another forms question

    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
    PHP- is a blast!

  38. #38
    pierreclark is offline Corporal
    Join Date
    Mar 2006
    Posts
    14

    Default Re: another forms question

    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. #39
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: another forms question

    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!


  40. #40
    pierreclark is offline Corporal
    Join Date
    Mar 2006
    Posts
    14

    Default Re: another forms question

    Ok. that solution seems to work. Thanks a great deal.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. question with forms
    By GoldDraco13 in forum Forms
    Replies: 4
    Last Post: 02-09-2006, 03:49 AM
  2. domain question and VodaHost affiliate program question
    By WeirdWM in forum General Support Issues
    Replies: 1
    Last Post: 10-25-2005, 11:53 AM
  3. I'm terribly sorry . . . Template question.
    By kakitayuri in forum BlueVoda - General Issues
    Replies: 0
    Last Post: 09-09-2005, 10:44 AM
  4. aarghh! Forms - Help please!!!
    By apic in forum BlueVoda - General Issues
    Replies: 7
    Last Post: 07-15-2005, 03:43 PM
  5. Question about Unlimited Email
    By charlwillia6 in forum Web Hosting Pre-Sales
    Replies: 1
    Last Post: 07-08-2005, 11:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49