Need help with form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Bird
    Captain

    • Oct 2005
    • 202

    #16
    Re: Need help with form

    Originally posted by navaldesign
    It seems that there might be a form problem and not a php script problem.First, please extend the form area towards the bottom of your page. It seems as though your Submit and Reset buttons are outside the form area, so they won't work. To make sure they are ok, do as i told you, then go in preview and try entering some text in the fields. Click on the Reset button to see if it resets the field content. If not, delete the Submit and Reset buttons, and re-install them from scratch. After we will see if it works or not. Also please create a confirmation page without the form itself, it is only supposed to give your customer a confirmation that his order details have been transmitted, so you don't need the form anymore.
    WOW!!!! You are soooooooooo right!
    The buttons work now, they were outside of the form area. They both work now. But I got a
    HTTP 404 - File not found
    Internet Explorer
    after submitting

    http://www.fromtheheartofangels.com/

    Comment

    • navaldesign
      General & Forum Moderator

      • Oct 2005
      • 12080

      #17
      Re: Need help with form

      Originally posted by Bird
      WOW!!!! You are soooooooooo right!
      The buttons work now, they were outside of the form area. They both work now. But I got a
      HTTP 404 - File not found
      Internet Explorer
      after submitting
      That's because you have set the action to "order.php" instead of "orderform.php"
      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!

      Comment

      • Bird
        Captain

        • Oct 2005
        • 202

        #18
        Re: Need help with form

        OK, I have action set to orderform.php

        will not bring up the confirmation page I have saved and published. Brings up the same orderform.

        Is it correct the confirmation page is saved as order.bvp (or html)and file extension set as php

        {edit} On graphics page when I click on Order I get this http://www.fromtheheartofangels.com/orderform.html

        when I submit it brings up this page..........................................http://www.fromtheheartofangels.com/orderform.php

        ?

        http://www.fromtheheartofangels.com/

        Comment

        • navaldesign
          General & Forum Moderator

          • Oct 2005
          • 12080

          #19
          Re: Need help with form

          Originally posted by Bird
          OK, I have action set to orderform.php

          will not bring up the confirmation page I have saved and published. Brings up the same orderform.

          Is it correct the confirmation page is saved as order.bvp (or html)and file extension set as php
          Hold on a moment Bird,

          the reason it brings up the same order form is because you have made the two pages visually identical.

          Create an Order Confirmation Page that has the script inside it. Visually it must be different from your Orderform page.Lets call it, to have ideas clear, "confirmation.php" This page is a page that you build in BV, then you insert the php script as in Pablo's instructions, and then, before publishing, you go to page properties and change the extension for publishing in php. On your form properties instead, change the action to "confirmation.php". Please do so because i think we are mixing up everything. Try and let me know. I'll be offline for 1 - 2 hours, but go on and i'll see the results.
          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!

          Comment

          • Bird
            Captain

            • Oct 2005
            • 202

            #20
            Re: Need help with form

            I finally got both pages working, but it doesn't send any mail to my email inbox? I have OutlookExpress.

            http://www.fromtheheartofangels.com/

            Comment

            • navaldesign
              General & Forum Moderator

              • Oct 2005
              • 12080

              #21
              Re: Need help with form

              Originally posted by Bird
              I finally got both pages working, but it doesn't send any mail to my email inbox? I have OutlookExpress.
              Please email me the BV file of the confirmation page. I want to check the script and it's positioning inside the page. Use support@navaldesign.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!

              Comment

              • navaldesign
                General & Forum Moderator

                • Oct 2005
                • 12080

                #22
                Re: Need help with form

                Originally posted by Bird
                I finally got both pages working, but it doesn't send any mail to my email inbox? I have OutlookExpress.
                Ok Bird,

                here's the script:

                <?php

                // Receiving variables from the form
                @$image = addslashes($_POST['image']);
                @
                $text_color = addslashes($_POST['text_color']);
                @
                $text_font = addslashes($_POST['text_font']);
                @
                $name_to_add_with_image = addslashes($_POST['name_to_add_with_image']);
                @
                $email = addslashes($_POST['email']);
                @
                $comments = addslashes($_POST['comments']);
                @
                $black_or_dark = addslashes($_POST['black_or_dark']);
                @
                $white_or_black = addslashes($_POST['white_or_black']);

                //Sending Email

                $pfw_header = "From: $email\n"
                . "Reply-To: $email\n";
                $pfw_subject = "Animated Sparkle Name Order";
                $pfw_email_to = "Graphics@fromtheheartofangels.com";
                $pfw_message = "image: $image\n"
                . "text_color: $text_color\n"
                . "text_font: $text_font\n"
                . "name_to_add_with_image: $name_to_add_with_image\n"
                . "email: $email\n"
                . "comments: $comments\n"
                . "black_or_dark: $black_or_dark\n"
                . "white_or_black: $white_or_black\n";
                *****(
                $pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
                header(
                "Location: confirmation1.html");
                ?>


                Copy and paste it in notepad. Save it as "confirmation" . Upload it on your server. Since it will be uploaded as "confirmation.txt", use Blue FTP to rename it in "confirmation.php". If you have already changed the form encoding type in "multipart/form data" simply test the form
                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!

                Comment

                • Bird
                  Captain

                  • Oct 2005
                  • 202

                  #23
                  Re: Need help with form

                  Still not working, no emails in my inbox

                  here is the script I uploaded from notepad, changed to php

                  <?php
                  // Receiving variables from the form
                  @$image = addslashes($_POST['image']);
                  @$text_color = addslashes($_POST['text_color']);
                  @$text_font = addslashes($_POST['text_font']);
                  @$name_to_add_with_image = addslashes($_POST['name_to_add_with_image']);
                  @$email = addslashes($_POST['email']);
                  @$comments = addslashes($_POST['comments']);
                  @$black_or_dark = addslashes($_POST['black_or_dark']);
                  @$white_or_light = addslashes($_POST['white_or_light']);
                  //Sending Email
                  $pfw_header = "From: $email\n"
                  . "Reply-To: $email\n";
                  $pfw_subject = "Animated Sparkle Name Order";
                  $pfw_email_to = "Graphics@fromtheheartofangels.com";
                  $pfw_message = "image: $image\n"
                  . "text_color: $text_color\n"
                  . "text_font: $text_font\n"
                  . "name_to_add_with_image: $name_to_add_with_image\n"
                  . "email: $email\n"
                  . "comments: $comments\n"
                  . "black_or_dark: $black_or_dark\n"
                  . "white_or_light: $white_or_light\n";
                  *****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
                  header("Location: confirmation1.html");
                  ?>

                  http://www.fromtheheartofangels.com/

                  Comment

                  • navaldesign
                    General & Forum Moderator

                    • Oct 2005
                    • 12080

                    #24
                    Re: Need help with form

                    Originally posted by Bird
                    Still not working, no emails in my inbox

                    here is the script I uploaded from notepad, changed to php

                    <?php
                    // Receiving variables from the form
                    @$image = addslashes($_POST['image']);
                    @$text_color = addslashes($_POST['text_color']);
                    @$text_font = addslashes($_POST['text_font']);
                    @$name_to_add_with_image = addslashes($_POST['name_to_add_with_image']);
                    @$email = addslashes($_POST['email']);
                    @$comments = addslashes($_POST['comments']);
                    @$black_or_dark = addslashes($_POST['black_or_dark']);
                    @$white_or_light = addslashes($_POST['white_or_light']);
                    //Sending Email
                    $pfw_header = "From: $email\n"
                    . "Reply-To: $email\n";
                    $pfw_subject = "Animated Sparkle Name Order";
                    $pfw_email_to = "Graphics@fromtheheartofangels.com";
                    $pfw_message = "image: $image\n"
                    . "text_color: $text_color\n"
                    . "text_font: $text_font\n"
                    . "name_to_add_with_image: $name_to_add_with_image\n"
                    . "email: $email\n"
                    . "comments: $comments\n"
                    . "black_or_dark: $black_or_dark\n"
                    . "white_or_light: $white_or_light\n";
                    *****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
                    header("Location: confirmation1.html");
                    ?>
                    Bird, your confirmation.php page is still the same. Please remove (delete) it and then upload the script as it is as confirmation.php. Don't mix it with any BV page
                    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!

                    Comment

                    • navaldesign
                      General & Forum Moderator

                      • Oct 2005
                      • 12080

                      #25
                      Re: Need help with form

                      Originally posted by Bird
                      Still not working, no emails in my inbox

                      here is the script I uploaded from notepad, changed to php

                      <?php
                      // Receiving variables from the form
                      @$image = addslashes($_POST['image']);
                      @$text_color = addslashes($_POST['text_color']);
                      @$text_font = addslashes($_POST['text_font']);
                      @$name_to_add_with_image = addslashes($_POST['name_to_add_with_image']);
                      @$email = addslashes($_POST['email']);
                      @$comments = addslashes($_POST['comments']);
                      @$black_or_dark = addslashes($_POST['black_or_dark']);
                      @$white_or_light = addslashes($_POST['white_or_light']);
                      //Sending Email
                      $pfw_header = "From: $email\n"
                      . "Reply-To: $email\n";
                      $pfw_subject = "Animated Sparkle Name Order";
                      $pfw_email_to = "Graphics@fromtheheartofangels.com";
                      $pfw_message = "image: $image\n"
                      . "text_color: $text_color\n"
                      . "text_font: $text_font\n"
                      . "name_to_add_with_image: $name_to_add_with_image\n"
                      . "email: $email\n"
                      . "comments: $comments\n"
                      . "black_or_dark: $black_or_dark\n"
                      . "white_or_light: $white_or_light\n";
                      *****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
                      header("Location: confirmation1.html");
                      ?>
                      Also please chek if your email, which i inserted in the script, is correct or maybe i typed it in wrong
                      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!

                      Comment

                      • navaldesign
                        General & Forum Moderator

                        • Oct 2005
                        • 12080

                        #26
                        Re: Need help with form

                        Hi Bird

                        I really think that there is something done wrong . I have re-created your Order, php, and confirmation pages, exactly the way that my instructions show, and i have published it on my site. You can check it out at:



                        The email get to me perfectly well also. Please test it and let me know.
                        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!

                        Comment

                        • Bird
                          Captain

                          • Oct 2005
                          • 202

                          #27
                          Re: Need help with form

                          need help again...LOL

                          Took off the radio buttons, added the combo box to choose white or black
                          seems like the radio buttons were not working right. They were coming as both white and black, no matter what I chose.

                          Besides, I think the combo goes with the order form better.

                          What do I need to change in the below script, to the background changing.

                          here is the script I uploaded from notepad, changed to php

                          <?php
                          // Receiving variables from the form
                          @$image = addslashes($_POST['image']);
                          @$text_color = addslashes($_POST['text_color']);
                          @$text_font = addslashes($_POST['text_font']);
                          @$name_to_add_with_image = addslashes($_POST['name_to_add_with_image']);
                          @$email = addslashes($_POST['email']);
                          @$comments = addslashes($_POST['comments']);
                          @$black_or_dark = addslashes($_POST['black_or_dark']);
                          @$white_or_light = addslashes($_POST['white_or_light']);
                          //Sending Email
                          $pfw_header = "From: $email\n"
                          . "Reply-To: $email\n";
                          $pfw_subject = "Animated Sparkle Name Order";
                          $pfw_email_to = "Graphics@fromtheheartofangels.com";
                          $pfw_message = "image: $image\n"
                          . "text_color: $text_color\n"
                          . "text_font: $text_font\n"
                          . "name_to_add_with_image: $name_to_add_with_image\n"
                          . "email: $email\n"
                          . "comments: $comments\n"
                          . "black_or_dark: $black_or_dark\n"
                          . "white_or_light: $white_or_light\n";
                          *****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
                          header("Location: confirmation1.html");
                          ?>



                          Also, the error page hasn't showed, if they ordered, and something wasn't right. Not showing on the website order form.


                          http://www.fromtheheartofangels.com/

                          Comment

                          • navaldesign
                            General & Forum Moderator

                            • Oct 2005
                            • 12080

                            #28
                            Re: Need help with form

                            Originally posted by Bird
                            need help again...LOL

                            Took off the radio buttons, added the combo box to choose white or black
                            seems like the radio buttons were not working right. They were coming as both white and black, no matter what I chose.

                            Besides, I think the combo goes with the order form better.

                            What do I need to change in the below script, to the background changing.

                            here is the script I uploaded from notepad, changed to php

                            <?php
                            // Receiving variables from the form
                            @$image = addslashes($_POST['image']);
                            @$text_color = addslashes($_POST['text_color']);
                            @$text_font = addslashes($_POST['text_font']);
                            @$name_to_add_with_image = addslashes($_POST['name_to_add_with_image']);
                            @$email = addslashes($_POST['email']);
                            @$comments = addslashes($_POST['comments']);
                            @$background= addslashes($_POST['background']);
                            //Sending Email
                            $pfw_header = "From: $email\n"
                            . "Reply-To: $email\n";
                            $pfw_subject = "Animated Sparkle Name Order";
                            $pfw_email_to = "Graphics@fromtheheartofangels.com";
                            $pfw_message = "image: $image\n"
                            . "text_color: $text_color\n"
                            . "text_font: $text_font\n"
                            . "name_to_add_with_image: $name_to_add_with_image\n"
                            . "email: $email\n"
                            . "comments: $comments\n"
                            . "background: $background\n";
                            *****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
                            header("Location: confirmation1.html");
                            ?>



                            Also, the error page hasn't showed, if they ordered, and something wasn't right. Not showing on the website order form.

                            http://www.fromtheheartofangels.com/ordererror.html
                            Hi Bird, name the combobox"background" and copy the modified text in notepad, go to Save as, chose file type "All files", and save it as confirmation.php . You must first delete from your computer the old "confirmation.php" or else it will be saved as "confirmation.php(2)". Then upload it on the server using BlueFTP. In the combo box put all the choices you want. The important is that you name it "background"

                            No error page appears because there is no validation in your script. On the other hand, the only validation i can think of is the email, since, as you have created your form, there is a truelike default value in all fields. You should put a "Please chose" item in your drop down lists, with null value, so the script could verify if they entered something or not. If you modify it, i can prepare you another script with validation of the fields.

                            Another suggestion: Not many people know how all those fonts look like, so you must either create another frame with one or two words written in every kind of font, with a font number for them to chose, like you have fro the images, or, prompt them to a separate page with the fonts and then have them back to submit the form.

                            By the way, is it you testing the form in my site? I've been receiving two emails.
                            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!

                            Comment

                            • Bird
                              Captain

                              • Oct 2005
                              • 202

                              #29
                              Re: Need help with form

                              Thanks Navaldesign.

                              I now have the new confirmation.php uploaded, and it works perfect!

                              I am working on the images, colors, and fonts in-line frames, once done, I can upload them. I still have along ways to go with them, as I have very little time to work on them, as this form has taken me back a little.

                              Yes, that was me, testing.

                              On the order error page, how would I use a script, to make sure they fill the right fields out before they submit? I thought once they purchase, I would confirm with a reply back to them by email, to make sure the right ones were selected, before I made the image.

                              http://www.fromtheheartofangels.com/

                              Comment

                              • navaldesign
                                General & Forum Moderator

                                • Oct 2005
                                • 12080

                                #30
                                Re: Need help with form

                                Originally posted by Bird
                                Thanks Navaldesign.

                                I now have the new confirmation.php uploaded, and it works perfect!

                                I am working on the images, colors, and fonts in-line frames, once done, I can upload them. I still have along ways to go with them, as I have very little time to work on them, as this form has taken me back a little.

                                Yes, that was me, testing.

                                On the order error page, how would I use a script, to make sure they fill the right fields out before they submit? I thought once they purchase, I would confirm with a reply back to them by email, to make sure the right ones were selected, before I made the image.
                                You will anyway have their info because Paypal sends you e payment confirmation mail, which includes their info. However, we can make a script that checks for empty filds and truelike email address. Let me know exactly what you want and i'l ll make 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!

                                Comment

                                Working...
                                X