Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Send Web Form Data To Email

    I am wondering if you can please take a look at this code and let me know what I need to change....
    I want the information the user enters on the form to be emailed to me. Also, I want to be able to open that form on my blackberry as well.
    When I first created this form I got everything to work fine but then changed something which takes me to my current position.

    See code below. Thanks!!!


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"

    <head>
    <meta http-equiv="Content-Language" content="en-us" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Free Consultation</title>
    <meta name="keywords" content="organic search engine optimization, local search targeting, search engine optimization, bellevue, seattle" />
    <meta name="description" content="Our search engine optimization services help business target their customers using our search targeting method - bt.com, Seattle, Washington" />
    </head>

    <body>
    <form action="/gdform.php" method="post">

    </html>

    <style type="text/css">
    .style3 {
    font-family: Calibri;
    font-size: medium;
    }
    .style4 {
    margin-bottom: 0px;
    }
    .style5 {
    font-family: Calibri;
    font-size: medium;
    margin-top: 0;
    margin-bottom: 0;
    }
    .style6 {
    text-decoration: underline;
    }
    .style1 {
    font-family: Calibri;
    }
    </style>
    </head>

    <body style="background-image: url('allpages%20copy.jpg')">

    <p class="style3">Not sure where to start? Consultation is the right step. </p>
    <p class="style3">During our initial consultation we will learn more about your
    business and your goals. Based on the information you provide, we will recommend
    strategies for accomplishing your goal and let you decide the next step you want
    to take. We do not have sales representatives and this is <span class="style6">
    NOT</span> a sales presentation. We will provide you with the information you
    need so you can make the best decision for your business.</p>
    <p class="style3">Simply fill out the form below and one of our specialists will
    contact you to obtain some preliminary information and set-up a meeting.&nbsp;
    You can also email us directly at
    <span class="style5">
    <a href="mailto:inquires@brain-tag.com?subject=Quote">inquires@brain-tag.com</a> </span>
    or call us at <span class="style1"><strong>206.202.2438</strong></span>.&nbsp; </p>
    <p class="style5">Name&nbsp;
    <input name="Text1" type="text" style="width: 145px" /></p>
    <p class="style5">Company Name&nbsp;
    <input name="Text2" type="text" style="width: 177px" /></p>
    <p class="style5">Phone&nbsp; <input name="Text3" type="text" class="style4" /></p>
    <p class="style5">Email&nbsp;
    <input name="Text11" type="text" class="style4" /><p class="style5">Website URL&nbsp;
    <input name="Text5" type="text" style="width: 162px" /></p>
    <p class="style5">Type of Business:&nbsp; <input name="Text9" type="text" /></p>
    <p class="style5">Desired Date &amp; Time For Consultation:&nbsp;
    <input name="Text6" type="text" /></p>
    <p class="style5">Estimated Monthly Budget:&nbsp;
    <input name="Text7" type="text" /></p>
    <p class="style5">Services Interested In:&nbsp;
    <input name="Text10" type="text" style="height: 19px" /></p>
    <p class="style5">What field of business are you in?&nbsp;
    <input name="Text8" type="text" style="width: 185px" /></p>
    <p class="style5">What are your goals?&nbsp;
    <textarea name="TextArea1" cols="20" style="height: 46px"></textarea></p>
    <p class="style5">Additional Information, Comments, Requests...
    <textarea name="TextArea2" cols="20" style="height: 46px" rows="1"></textarea>
    </p>
    <p class="style5">
    <form method="post" class="style3" action="/gdform.php" name="Free Consultation">
    <a href="Thank%20You%20Confirmation.htm">
    <input type="submit" name="submit" value="Submit" />
    <input type="hidden" name="redirect" value="Thank%20You%20Confirmation.htm" />
    <input type="hidden" name="subject" value="Free Consultation" />
    </form>

    </body>
    </html>

  • #2
    Regular Coder medigerati's Avatar
    Join Date
    Jul 2005
    Location
    San Antonio, Tx
    Posts
    163
    Thanks
    0
    Thanked 7 Times in 7 Posts
    At the top of your code you have:
    Code:
    </head>
    
    <body>
    <form action="/gdform.php" method="post">
    
    </html>
    I suggest taking those four lines out, as they could be the problem there.
    If you need a little more help, I'm available as a Website designer in San Antonio
    ----------
    If I've helped, please check out my friend's nature photography and let me know if you like anything.


  •  

    Posting Permissions

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