Click to See Complete Forum and Search --> : forms


oldendays
05-21-2005, 05:20 PM
I've created a form through notepad, posted on geocities, that works, but it only sends me the first and last name information and the results from the checklist for each user. I've tried moving the name information from the top of the form and still it only sends me the above!

This is the code I am using, which I got directly from geocities:

<form method=post action="http://geocities.yahoo.com/forms?login=oldendays101">

I have gone over the code with a fine-tooth comb and can't find any obvious mistakes -

HELP!!!

felgall
05-21-2005, 05:52 PM
Your input fields all contain garbage and none of them have a name. For example where you have this:
<input type="text" maxlength="20" Last Name="Last_Name"><br><br>
<b>First Name</b><br>
<input type="text" maxlength="20" First Name="First_Name"><br><br>
<b>Middle Initial</b><br>
<input type="text" maxlength="20" Middle Initial="Middle_Initial"><br><br>
<b>Street Address</b><br>
<input type="text" maxlength="30" Street Address="Street_Address"><br><br>
<b>City, State</b><br>
<input type="text" maxlength="20" City, State="State,_State"><br><br>
<b>Zipcode</b><br>
<input type="text" maxlength="20" State, Zipcode="Zipcode"><br><br>
<b>Home Phone Number</b><br>
<input type="text" maxlength ="20" Home Phone Number="Home_Phone_ Number">
<br><br>
<b>Email Address (required for online registration)</b><br>
<input type="text" maxlength="20" Email Address="Email_Address"><br><br>

it should read

<input type="text" maxlength="20" name="Last_Name"><br><br>
<b>First Name</b><br>
<input type="text" maxlength="20" name="First_Name"><br><br>
<b>Middle Initial</b><br>
<input type="text" maxlength="20" name="Middle_Initial"><br><br>
<b>Street Address</b><br>
<input type="text" maxlength="30" name="Street_Address"><br><br>
<b>City, State</b><br>
<input type="text" maxlength="20" name="State,_State"><br><br>
<b>Zipcode</b><br>
<input type="text" maxlength="20" name="Zipcode"><br><br>
<b>Home Phone Number</b><br>
<input type="text" maxlength ="20" name="Home_Phone_ Number">
<br><br>
<b>Email Address (required for online registration)</b><br>
<input type="text" maxlength="20" name="Email_Address"><br><br>

rhsunderground
05-21-2005, 06:03 PM
even better would be:
<input type="text" maxlength="20" name="Last_Name"><br /><br />
<span style="font-weight: bold">First Name</span><br />

ray326
05-22-2005, 06:20 PM
And even better would be something like

<label for="Last_Name">Last Name</label>
<input type="text" maxlength="20" name="Last_Name" id="Last_Name">