Announcement

Collapse
No announcement yet.

Need help with form

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

  • #31
    Re: Need help with form

    Hate to bother you with more.

    Would it be possible to make a script to check for empty fills, and truelike email addresses, which will go to the ordererror page, that I listed above, I made a link back on the error page for them to go back to the order form.

    http://www.fromtheheartofangels.com/

    Comment


    • #32
      Re: Need help with form

      Originally posted by Bird
      Hate to bother you with more.

      Would it be possible to make a script to check for empty fills, and truelike email addresses, which will go to the ordererror page, that I listed above, I made a link back on the error page for them to go back to the order form.
      No problem. Giive me a couple of days because i'm going out of town for work. I'll be back By Wednesday 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!

      Comment


      • #33
        Re: Need help with form

        No problem.

        http://www.fromtheheartofangels.com/

        Comment


        • #34
          Re: Need help with form

          I thought i'd better finish with the new script now. So here it goes:

          <?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']);
          // Validation for empty fields and email
          if (strlen($image) == 0 )
          {
          header(
          "Location: image_errorpage.html");
          exit;
          }
          if (strlen(
          $text_color) == 0 )
          {
          header(
          "Location: color_errorpage.html");
          exit;
          }
          if (strlen(
          $text_font) == 0 )
          {
          header(
          "Location: text_errorpage.html");
          exit;
          }
          if (strlen(
          $name_to_add_with_image) == 0 )
          {
          header(
          "Location: name_errorpage.html");
          exit;
          }
          if (! ereg(
          '[A-Za-z0-9_-]+\@[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+', $email))
          {
          header(
          "Location: email_errorpage.html");
          exit;
          }
          if (strlen(
          $email) == 0 )
          {
          header(
          "Location: email_errorpage.html");
          exit;
          }
          if (strlen(
          $background) == 0 )
          {
          header(
          "Location: background_errorpage.html");
          exit;
          }
          //Sending Email to form owner
          $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");
          ?>


          Follow exactly the same instructions as with the last script. Please note that you MUST create a single error page for every error type: in fact you must build a single page and save it under different names changing the error message from page to page. So you have to create the following pages:

          image_errorpage.html, color_errorpage.html, text_errorpage.html, name_errorpage.html, email_errorpage.html, background_errorpage.html



          Have a look at

          http://www.navaldesign.info/Deamonox...errorpage.html

          and

          http://www.navaldesign.info/Deamonox...errorpage.html

          To create the Back to Form Button, go to forms, Advanced Button, insert a button in your page, double click on it to edit it, chose Button Type "On click" and action "Go to the previous page". You can edit the button tect exactly as with normal text. You can change the fill in a color that suits you, you can add border ecc.

          Should you need further help , 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


          • #35
            Re: Need help with form

            Navaldesign, I have done all the above.

            All the error pages are done, saved and published, but when filling out the form only the name, and email work. I get the error pages on these, then when filled out right, I get the confirmation page.

            I get no error on image, text color, or text font, or background. The form still arrives in my email box as Please choose.

            I am getting so close, to getting the graphics done and uploaded, but this is really throwing me off.

            ?

            http://www.fromtheheartofangels.com/

            Comment


            • #36
              Re: Need help with form

              Wow! I finally got it to work!

              I left the fields blank, and checked it as selected. Now they are all working perfect, I sent an order to my email box, tada, it arrived with the correct filled out fields. I also replied to myself (LOL), with a finished graphic, and it arrived in my regualr email inbox.Works perfect!!

              Thank You Navaldesign, for taking this much time in helping us here at VodaHost.

              For all you out there that is attempting this, it might be a struggle, but it is well worth it. When you finally get it, it makes you feel like you are standing on top of a mountain! Words cannot express how I feel as I have accomplished it.

              Thank You Navaldesign, and all of you here at VodaHost!!

              Check it out, how it has come along. Once I get the graphics uploaded, the confirmation page will have the paypal button to submit payment. So if you want to test it out, you can stop at the confirmation page, no need in going any further, unles you want one, and want to buy.

              http://www.fromtheheartofangels.com/orderform.html

              http://www.fromtheheartofangels.com/

              Comment


              • #37
                Re: Need help with form

                Wow, Congratulations Bird!
                I envy you :)
                Anyway, can you tell us again step by step how you do it please?
                In my case, I need only 3 fields to validate and dont know yet how to modify the script and where to put it.
                If you tell me how you finally get it, may be I can figure out my errors.
                I need from the validation step only.
                Thank you very much.
                Quy

                Comment


                • #38
                  Re: Need help with form

                  Not sure if I can be of help. Navaldesign is out of town at the moment, said he would be back Wednesday morning.

                  What I did, and what I can see of your page.
                  Go to your BlueVoda Site builder, open your page. double click the box you want.

                  first one will be name click OK
                  second box will be email click OK
                  third box will be comments click OK or essay, what ever you call the last box

                  when you get all three done, save page as (making sure you have Save as type all files in the field at the bottom chose) then proceed with the essay.html, click save.

                  Next, after saving the page, publish it.
                  Open your page, you might have to refresh the page.
                  Then test it by sending to your self.

                  Hope this helps you, post back, so when navaldesign sees this, he can come to your rescue.

                  http://www.fromtheheartofangels.com/

                  Comment


                  • #39
                    Re: Need help with form

                    Also (among many things) that I dont understand is the line at the end of the script
                    header("Location: confirmation1.html");
                    Do you make a confirmation page and save as confirmation1.html?
                    Thank you,

                    Comment


                    • #40
                      Re: Need help with form

                      Originally posted by quyhurry
                      Also (among many things) that I dont understand is the line at the end of the script
                      header("Location: confirmation1.html");
                      Do you make a confirmation page and save as confirmation1.html?
                      Thank you,
                      Yes... make a confirmation page and save as confirmation1.html
                      check my site out, and look at the address when you get to the last page. (the confirmation page)
                      Make sure you save as and then publish it. Very important steps here.

                      http://www.fromtheheartofangels.com/orderform.html

                      http://www.fromtheheartofangels.com/

                      Comment


                      • #41
                        Re: Need help with form

                        Oh you are here:)
                        Thxs Bird.
                        One more thing, you put the new script indice body tag of confirmation1.html to replace the old script (from Pablo) ?
                        How about the php page then? We still need it and upload to the server by using blueftp? Please reply.
                        Thank you very much
                        Quy

                        Comment


                        • #42
                          Re: Need help with form

                          Reviewing this thread I assume that you made the follwing pages:
                          http://www.fromtheheartofangels.com/orderform.html
                          http://www.fromtheheartofangels.com/orderform.php
                          http://www.fromtheheartofangels.com/confirmation1.html
                          many other errors pages according to the required fileds.

                          Am i correct? Or are there any other pages?
                          Thxs Bird

                          Comment


                          • #43
                            Re: Need help with form

                            PROBLEM ONE
                            I added a text box at the last moment to a form which means that when I get the email of the details the name of person 2 is at the end rather than the start. See below. Does anyone know how to correct this ?

                            Values submitted from web site form:
                            name1 : Mr A Relative
                            address1 : 123 Main Street
                            address2 : Main town
                            address3 : State
                            email : abc******.com
                            comments : This is a test RSVP message
                            name1_Yes_-_I__can_attend
                            :
                            Submit : Submit
                            name2 : Mrs B Relative
                            name2_No_-_I_can_not_attend

                            Comment


                            • #44
                              Re: Need help with form

                              I know the problem cause it happened to me.
                              I guess the order of the values appearing on the email received depend on the order when you create the boxes and not on the positions on the form.
                              I correct it by deleting all boxes and carefully re-create the boxes according the order that I want them to appear on emails that I receive.
                              I don't know if there is another way to do it or not but that's my way)
                              Hope this will help
                              Quy

                              Comment


                              • #45
                                Re: Need help with form

                                Thanks. I thought I might have to do that. If anyone knows a quicker way, let me know.

                                Comment

                                Working...
                                X