www.webdeveloper.com
Results 1 to 6 of 6

Thread: Html form submit helppp!!

  1. #1
    Join Date
    Apr 2012
    Posts
    1

    Unhappy Html form submit helppp!!

    I am creating a page for my employer and have not worked with web developing since high school. I have a form with contact information and quick response information that i would like to be submitted to us by email. I have the form set all up, i just cannot get the email. PLEASE help me. I have been working on this FINAL page since 8 am. The rest of the site was complete in 2 days. THANK YOU.

    THIS IS WHAT I HAVE SO FAR FOR MY FORM:

    <form name="input" method="get"><legend>CONTACT INFO</legend><br />

    <select name="Prefix">
    <option value="Select">Select</option>
    <option value="Mr.">Mr.</option>
    <option value="Mrs.">Mrs.</option>
    <option value="Ms.">Ms.</option></select>

    First Name:<input type="text" name="firstname" />
    Last Name:<input type="text" name="lastname"/>
    Company:<input type="text" name="Company" />
    Company Type:<input type="text" name="Company Type" />
    Address:<input type="text" name="Address" size="75"/></font>
    Phone:<input type="text" name="Phone Number" />
    E-Mail:<input type="text" name="Email" />

    Contact Preference:
    <input type="radio" name="contact" value="Mail" /> Mail
    <input type="radio" name="contact" value="Phone" /> Phone
    <input type="radio" name="contact" value="Email" /> E-Mail

    <p>
    <input type="checkbox" name="amenities1" value="A" /> Mailbox Only
    <input type="checkbox" name="amenities2" value="B" /> Phone Service Only
    <input type="checkbox" name="amenities3" value="C" /> Virtual Office Basic
    <input type="checkbox" name="amenities4" value="D" /> Virtual Office Premiere
    <input type="checkbox" name="amenities5" value="E" /> Conference Room Package
    How Did YouHear About Us:
    <input type="text" name="Feedback" />

    Additional Comments:<label>
    <textarea name="aaaa" id="aaaa" cols="45" rows="5"></textarea>
    </label>

    <div align="right"><input type="submit" name="Send In Info" value="Submit" /></div>
    </form>


    **I took out all my spacings and breaks and paragraphs to conserve room*

  2. #2
    Join Date
    Nov 2002
    Posts
    2,632
    You need a server side scripting language like PHP to process the form and then send the e-mail. Forms tend to send their data via post as well.

  3. #3
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    And you link to the server side PHP file by the "action" in the form.. for example:
    Code:
    <form action="feedback.php" method="post">
    where "feedback.php" is the file on the server which processes the <form>.
    http://www.html-form-guide.com/php-f...rocessing.html
    http://apptools.com/phptools/forms/
    to name just a few links.
    Best wishes,
    Eye for Video

  4. #4
    Join Date
    Feb 2011
    Location
    Chuluota, Florida
    Posts
    144
    NateMail is a great php form processor. It is pretty secure and comes with feild validation and spam protection as well. Its what I use for all of my form handling just because its simple to setup and is easily configured and used. That will save you lots of time from having to try and write your own.

    Also always use POST as the method on a form when submitting personal information. Get will put all of that information into the url and thats not safe at all. Much better to use POST and its much safer as well.

  5. #5
    Join Date
    Apr 2012
    Posts
    2
    Did you get this figured out cakbuch?

  6. #6
    Join Date
    Jan 2012
    Posts
    51
    How does it go?
    Last edited by BrianJames; 04-04-2012 at 11:56 PM.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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



Recent Articles