Help With a Form

Discussion in 'HTML' started by Jeff Dunnett, Feb 17, 2005.

  1. Jeff Dunnett

    Jeff Dunnett Guest

    Hello Everyone,

    First of all let me thank you for your help. Second of all a bit about the
    problem. I have a webpage that has an HTML form. The point of the form is
    to allow people to register for something online. The problem is I have
    people complaining that they can't used web based email address when sending
    the form. For example email addresses like gmail or hotmail. I can't
    figure out how to modify the form to make it possible. The form is as
    follows:

    <html>

    <head>
    <title>Register</title>
    </head>

    <body bgcolor="black" text="white" link="#f6b580" vlink="#c0c0ff">

    <img src="logo.gif" width="324" height="104"alt="logo.gif (15760 bytes)">

    <br><br>

    <table border="0" cellpadding="0" cellspacing="0" width="307" align="left">
    <tr>
    <td background="tableback.gif" height="25"><p
    align="center"><big>Pre-Register</big><br></td>
    </tr>

    <tr>
    <td><br>Please use this form to Pre-Register on or before March 31st,
    2005!.&nbsp;
    If it's April 1st just c'mon down to the con and register at the door
    it'll be far
    faster.<br><br>All weekend: $22.00 pre-reg; $25.00 door<br>Per slot:
    $8.00<br>Banquet: $<br>Friday $10.00, Saturday $20.00, Sunday
    $5.00<p>Note RPGA
    players please register here!<br><br></tr>
    <tr>
    <td>
    <FORM METHOD="POST" ACTION="mailto:?subject=Pre-Reg
    Submission" enctype="text/plain">

    <b>Name:</b><br> <INPUT TYPE="text" NAME="Name" SIZE="35"><br><br>

    <b>Age:</b><br> <INPUT TYPE="text" NAME="Age" SIZE="2"><br><br>

    <b>Mailing Address:</b><br> <INPUT TYPE="text" NAME="address"
    SIZE="35"><br><br>
    <b>City:</b><br> <INPUT TYPE="text" NAME="city" SIZE="35"><br><br>
    <b>Province/State:</b><br> <INPUT TYPE="text" NAME="province"
    SIZE="20"><br><br>
    <b>Postal/Zip Code:</b><br> <INPUT TYPE="text" NAME="Code"
    SIZE="8"><br><br>

    <b>Phone Number:</b><br> <INPUT TYPE="text" NAME="phone" SIZE="20"><br><br>

    <b>Email Address:</b><br> <INPUT TYPE="text" NAME="email"
    SIZE="35"><br><br>

    <br><br><STRONG>FRIDAY April 1st, 2 pm - 6 pm</strong> <br>
    First Choice: <INPUT TYPE="text" NAME="Fri_Slot1A" size="40"><br>
    Second choice: <INPUT TYPE="text" NAME="Fri_Slot1B" size="40"><br>

    <br><br><STRONG>FRIDAY April 1st, 7 pm -11 pm</strong> <br>
    First Choice: <INPUT TYPE="text" NAME="Fri_Slot2A" size="40"><br>
    Second choice: <INPUT TYPE="text" NAME="Fri_Slot2B" size="40"><br>

    <br><br><STRONG>SATURDAY April 2nd, 9 am - 1 pm</strong> <br>
    First choice: <INPUT TYPE="text" NAME="Sat_Slot1A" size="40"><br>
    Second choice: <INPUT TYPE="text" NAME="Sat_Slot1B" size="40"><br>

    <br><br><STRONG>SATURDAY April 2nd, 2 pm - 6 pm</strong> <br>
    First choice: <INPUT TYPE="text" NAME="Sat_Slot2A" size="40"><br>
    Second choice: <INPUT TYPE="text" NAME="Sat_Slot2B" size="40"><br>

    <br><br><STRONG>SATURDAY April 2nd, 7 pm - 11 pm</strong> <br>
    First choice: <INPUT TYPE="text" NAME="Sat_Slot3A" size="40"><br>
    Second choice: <INPUT TYPE="text" NAME="Sat_Slot3B" size="40"><br>

    <br><br><STRONG>SUNDAY April 2nd, 9 am - 1 pm </strong> <br>
    First choice: <INPUT TYPE="text" NAME="Sun_Slot1A" size="40"><br>
    Second choice: <INPUT TYPE="text" NAME="Sun_Slot1B" size="40"><br>


    <br><br><STRONG>SUNDAY April 2nd, 2 pm - 6 pm </strong> <br>
    First choice: <INPUT TYPE="text" NAME="Sun_Slot2A" size="40"><br>
    Second choice: <INPUT TYPE="text" NAME="Sun_Slot2B" size="40"><p><br>

    <b>Comments:</b><br>
    If you have any comments that you would like to add please do so:<br>
    <TEXTAREA NAME="Comments" ROWS=6 COLS=35></TEXTAREA> <br><br>



    <br><br>
    <INPUT TYPE="image" SRC="submit.gif" HEIGHT="33"# WIDTH="159" BORDER=0
    ALT="Picture Button">
    </p>

    </FORM>
    </td>
    </tr>

    <tr>
    <td align=center><br><br><h6> <a href="main.html">Home</a> | <a
    href="location.html">Location</a> | <a href="games.html">Games</a> | <a
    href="register.html">Register</a> | <a href="survey.html">Survey</a> | <a
    href="contact.html">Contact</a>
    </h6>
    <h6> <br>

    </td>
    </tr>

    </table>
    </div>


    </body>
    </html>

    Can someone give me a hint on how I can modify it to allow for hotmail and
    gmail accounts and still keep it realitively pure HTML?

    Regards,
    Jeff
     
    Jeff Dunnett, Feb 17, 2005
    #1
    1. Advertising

  2. in alt.html, Jeff Dunnett wrote:
    > Hello Everyone,
    >
    > First of all let me thank you for your help. Second of all a bit about the
    > problem. I have a webpage that has an HTML form. The point of the form is
    > to allow people to register for something online. The problem is I have
    > people complaining that they can't used web based email address when sending
    > the form. For example email addresses like gmail or hotmail. I can't
    > figure out how to modify the form to make it possible. The form is as
    > follows:
    >
    > <FORM METHOD="POST" ACTION="mailto:?subject=Pre-Reg
    > Submission" enctype="text/plain">


    http://www.isolani.co.uk/articles/mailto.html


    --
    Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
    Utrecht, NL.
     
    Lauri Raittila, Feb 17, 2005
    #2
    1. Advertising

  3. Jeff Dunnett

    Oli Filth Guest

    Jeff Dunnett wrote:
    > First of all let me thank you for your help. Second of all a bit about the
    > problem. I have a webpage that has an HTML form. The point of the form is
    > to allow people to register for something online. The problem is I have
    > people complaining that they can't used web based email address when sending
    > the form. For example email addresses like gmail or hotmail. I can't
    > figure out how to modify the form to make it possible. The form is as
    > follows:
    >

    <SNIP HTML>
    > Can someone give me a hint on how I can modify it to allow for hotmail and
    > gmail accounts and still keep it realitively pure HTML?
    >


    Unfortunately, the problem is the very use of "mailto:..." URLs within
    the action attribute of the <FORM>. It's a highly discouraged practice,
    for reasons just like the one you've discovered.

    If you want this sort of interactivity, by far the most efficient and
    reliable way is to use server-side handling, such as ASP, PHP or Perl.


    --
    Oli
     
    Oli Filth, Feb 17, 2005
    #3
  4. Jeff Dunnett

    Steve Pugh Guest

    "Jeff Dunnett" <> wrote:

    >people complaining that they can't used web based email address when sending
    >the form. For example email addresses like gmail or hotmail. I can't
    >figure out how to modify the form to make it possible. The form is as
    >follows:
    >
    ><FORM METHOD="POST" ACTION="mailto:?subject=Pre-Regt
    >Submission" enctype="text/plain">


    Don't use action="mailto:...", use a server side script.

    Steve

    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <> <http://steve.pugh.net/>
     
    Steve Pugh, Feb 17, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dbuchanan
    Replies:
    2
    Views:
    2,617
    dbuchanan
    Dec 19, 2005
  2. Mart Rogers

    passing arguments from web-form to win-form

    Mart Rogers, Jul 8, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    595
    Natty Gur
    Jul 9, 2003
  3. Adam Benson

    Form in a form - possible ?

    Adam Benson, Jul 22, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    402
    Adam Benson
    Jul 29, 2003
  4. Li Zhang
    Replies:
    4
    Views:
    6,095
    softip
    Feb 27, 2009
  5. rob c
    Replies:
    4
    Views:
    338
    McKirahan
    Dec 30, 2005
Loading...

Share This Page