Form Problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Jeremy
    Brigadier General

    • Apr 2006
    • 1502

    Form Problems

    Hey!

    For some reason I havn't been able to get my forms to send to my inbox at (support@bwservices.ca) ... I have tried since May to get my forms to redirect to (http://www.bwservices.ca/Thank you.html) aswell and that hasnt worked either.

    Here is the html code pasted below. If anyone can help me out that would be great!

    <style>
    body,td,legend {
    color: black;
    font-family: Century Gothic;
    font-size: 14px;
    }
    span.required{
    font-size: 13px;
    color: red;
    }
    </style>

    <script language="php">
    $email = $HTTP_POST_VARS[email];
    $mailto = "
    jeremy_bellefeuille********.com";
    $mailsubj = "BW SERVICES - CONTACT 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"; }
    if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
    ?>
    <table width="520" cellpadding="5" cellspacing="0">
    <tr valign="bottom">
    <td width="150" valign="bottom" >
    <label for="q0">Company</label>
    </td>
    <td valign="bottom">
    <input type="text" size="20" name="q0_Company" id="q0">
    </td>
    </tr>
    </table>

    <table width="520" cellpadding="5" cellspacing="0">
    <tr valign="bottom">
    <td width="150" valign="bottom" >
    <label for="q2">Title</label>
    </td>
    <td valign="bottom">
    <input type="text" size="20" name="q2_Title" id="q2">
    </td>
    </tr>
    </table>

    <table width="520" cellpadding="5" cellspacing="0">
    <tr valign="bottom">
    <td width="150" valign="bottom" >
    <label for="q3">Name <span class="required">*</span></label>
    </td>
    <td valign="bottom">
    <input type="text" size="20" name="q3_Name" id="q3">
    </td>
    </tr>
    </table>

    <table width="520" cellpadding="5" cellspacing="0">
    <tr valign="bottom">
    <td width="150" valign="bottom" >
    <label for="q4">Last Name <span class="required">*</span></label>
    </td>
    <td valign="bottom">
    <input type="text" size="20" name="q4_LastName" id="q4">
    </td>
    </tr>
    </table>

    <table width="520" cellpadding="5" cellspacing="0">
    <tr valign="bottom">
    <td width="150" valign="bottom" >
    <label for="q5">E-mail <span class="required">*</span></label>
    </td>
    <td valign="bottom">
    <input type="text" size="20" name="q5_E-mail" id="q5">
    </td>
    </tr>
    </table>

    <table width="520" cellpadding="5" cellspacing="0">
    <tr valign="bottom">
    <td width="150" valign="bottom" >
    <label for="q6">Phone Number <span class="required">*</span></label>
    </td>
    <td valign="bottom">
    <input type="text" size="20" name="q6_PhoneNumber" id="q6">
    </td>
    </tr>
    </table>

    <table width="520" cellpadding="5" cellspacing="0">
    <tr valign="bottom">
    <td width="150" valign="top" >
    <label for="q7">Message <span class="required">*</span></label>
    </td>
    <td valign="bottom">
    <textarea wrap="soft" cols="30" rows="3" name="q7_Message" id="q7"></textarea>
    </td>
    </tr>
    </table>

    <table width="520" cellpadding="5" cellspacing="0">
    <tr valign="bottom">
    <td width="150" valign="bottom" >
    <label for="q8">How did you hear about us?</label>
    </td>
    <td valign="bottom">
    <input type="text" size="20" name="q8_Howdidyouhearaboutus" id="q8">
    </td>
    </tr>
    </table>
    <table width="520" cellpadding="5" cellspacing="0">
    <tr valign="bottom">
    <td width="150" valign="bottom" >

    </td>
    <td valign="bottom">
    <input TYPE="submit" VALUE="Submit"><input TYPE="reset">
    </td>
    </tr>
    </table>

    </form>

    ___________

    Thank you.
    Jeremy.

    www.bwservices.ca/
    Black & White Designs
    Best regards,
    Jeremy

    www.cornwall4rent.com
  • Andy128
    Major General

    • Dec 2005
    • 2317

    #2
    Re: Form Problems

    I do not see your form in what you have posted. But- check out the link below on how to set up a php mailto form.



    Andy
    PHP- is a blast!

    Comment

    • beegud2
      Major General

      • Apr 2006
      • 2156

      #3
      Re: Form Problems

      Hi Jeremy,

      I looked on what I had and compared to yours and you seem to be missing this header("Location: confirmationpage.html"); in the last part of your code which reads
      </style>
      <script language="php">
      $email = $HTTP_POST_VARS[email];
      $mailto = "jeremy_bellefeuille********.com";
      $mailsubj = "BW SERVICES - CONTACT 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"; }
      if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
      ?>
      I think you need to fill in here...try it out and see what happens.

      Just a stupid question but do you have a confirmation page php....you might be calling it something else. Andy has a tutorial on it....but I here the new form maker pro does it quite nicely..if you want to do over.

      bzzz

      Sorry no help on the e-mail part of it.
      Beezz
      sigpic


      ___________________
      http://www.beezworld.com

      http://www.bzzybeezwordz.blogspot.com

      Comment

      • VodaHost
        General & Forum Administrator

        • Mar 2005
        • 12356

        #4
        Re: Form Problems

        moving to form section.

        VodaHost

        Your Website People!
        1-302-283-3777 North America / International
        02036089024 / United Kingdom
        291916438 / Australia

        ------------------------

        Top 3 Best Sellers

        Web Hosting - Unlimited disk space & bandwidth.

        Reseller Hosting - Start your own web hosting business.

        Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


        Comment

        • davidundalicia
          General

          • Mar 2006
          • 6294

          #5
          Re: Form Problems

          Contact Us
          to our offical Canadian technical support team.

          The above is the heading on your Contact page.

          I strongly suggest that you read and digest andy&#180;s tutorial and then pass on the info to your technical support team.

          You might also want to view the various threads on Page sizes as yours seem to stretch to far to the right resulting in the user having to scroll.

          I mention these points because design is not just about putting pages up on the web......

          Good Luck.
          Have fun
          Regards..... David

          Step by Step Visual Tutorials for the complete beginner
          Newbies / Beginners Forum
          FREE Membership Login Scripts: - Meta Tags Analyzer
          My Social Networking Site - Free Contact Forms
          Finished your New website!! Now get it noticed Here:

          Comment

          • navaldesign
            General & Forum Moderator

            • Oct 2005
            • 12080

            #6
            Re: Form Problems

            You have various issues here.
            1. You are missing the <form> opening tag
            2. You have the processing script in your form page. It must be in your thankyou or confirmation page.
            3. You have created the form with some other program? not BV?
            4. As it is created, it looks like this other program passes your email address to the script(cgiemail) by means of a hidden field. It also passes through a number of other parameters, so my guess is that this form requires cgiemail to worl properly.


            I suggest that you re-do it, following Andy's instructions.
            Last edited by navaldesign; 06-19-2006, 12:28 PM.
            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

              #7
              Re: Form Problems

              Hi, click here to see your form functioning: http://www.navaldesign.info/Tips/bw/contact_us.html . if you submit, you will also receivr the email. Then, if you like, i'll send you the .bvp pages, so you will only have to publish them.
              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

              • Jeremy
                Brigadier General

                • Apr 2006
                • 1502

                #8
                Re: Form Problems

                Originally posted by navaldesign
                Hi, click here to see your form functioning: http://www.navaldesign.info/Tips/bw/contact_us.html . if you submit, you will also receivr the email. Then, if you like, i'll send you the .bvp pages, so you will only have to publish them.
                Hey navaldesign!

                I see what you have done with the form and I really like it, and I appreciate you taking the time for this and all other people. If you can please send me the .bvp page that would be wonderful!!

                Thanks.
                Best regards,
                Jeremy

                www.cornwall4rent.com

                Comment

                • Jeremy
                  Brigadier General

                  • Apr 2006
                  • 1502

                  #9
                  Re: Form Problems

                  Hey!

                  Thanks for all your help, and I do appreciate you guys criticizing my website ... someone also mentioned that you have to scroll left and right on my website. The reason for that is that I am building my website with a very large screen there for people who have small screens have to scroll.

                  ... thank you for letting me know, I will be working on that shortly.

                  Thanks.
                  Best regards,
                  Jeremy

                  www.cornwall4rent.com

                  Comment

                  • Jeremy
                    Brigadier General

                    • Apr 2006
                    • 1502

                    #10
                    Re: Form Problems

                    Hey!

                    I would also like to know if Form Maker Pro 4 is free for all VodaHost customers. Because I have followed instructions on installing the program but can not figure out how.

                    Thanks.
                    Best regards,
                    Jeremy

                    www.cornwall4rent.com

                    Comment

                    • navaldesign
                      General & Forum Moderator

                      • Oct 2005
                      • 12080

                      #11
                      Re: Form Problems

                      Originally posted by Jeremy
                      Hey navaldesign!

                      I see what you have done with the form and I really like it, and I appreciate you taking the time for this and all other people. If you can please send me the .bvp page that would be wonderful!!

                      Thanks.
                      I will, tomorrow morning, from Office, where i have the files i made for you.. It's midnight here and time for bed.
                      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