Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Help With a Form

Reply
Thread Tools

Help With a Form

 
 
Jeff Dunnett
Guest
Posts: n/a
 
      02-17-2005
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="(E-Mail Removed)?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


 
Reply With Quote
 
 
 
 
Lauri Raittila
Guest
Posts: n/a
 
      02-17-2005
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="(E-Mail Removed)?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.
 
Reply With Quote
 
 
 
 
Oli Filth
Guest
Posts: n/a
 
      02-17-2005
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
 
Reply With Quote
 
Steve Pugh
Guest
Posts: n/a
 
      02-17-2005
"Jeff Dunnett" <(E-Mail Removed)> 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="(E-Mail Removed)?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 <(E-Mail Removed)> <http://steve.pugh.net/>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retrieve form field value if form is EncType=multipart/form-dataForm? Li Zhang ASP .Net 4 02-27-2009 01:23 AM
<form>...</form> - how to supress blank space after </form> in IE? rob c Javascript 4 12-30-2005 06:10 PM
vs2005 - Open a child form based on selected record parent form's dgv - how? dbuchanan ASP .Net 2 12-19-2005 10:52 PM
Form in a form - possible ? Adam Benson ASP .Net 3 07-29-2003 09:19 AM
passing arguments from web-form to win-form Mart Rogers ASP .Net 3 07-09-2003 07:18 AM



Advertisments