Form Submission sent to me

  D2L Docherty 00:02 09 Sep 2005
Locked

this is the Html of my form i dunno how to get my Submit button to send me all the Data, i am using the Freewebs Html Account free version will it work on here ?
Html:
form name="form1" method="post" action="">
p>First Name:
input type="text" name="textfield">
/p>
p>Last Name:
input type="text" name="textfield">
/p>
p>Age:
input type="text" name="textfield">
/p>
p>Sex:
select name="select">
option>Female /option>
option>Male /option>
/select>
/p>
p>Age:
input type="text" name="textfield">
/p>
p>Location:
input type="text" name="textfield">
/p>
p>Nights Spent On a Week:
select name="select">
option>1 /option>
option>2 /option>
option>3 /option>
option>4 /option>
option>5 /option>
option>6 /option>
option>7 /option>
/select>
/p>
p>Time On:
input type="text" name="textfield">
/p>
p>Time Off:
input type="text" name="textfield">
/p>
p>Nickname:
input type="text" name="textfield">
/p>
p>Rank Wanted:
select name="select">
option>|LI| /option>
option>|HI| /option>
option>|BR| /option>
option>|BS| /option>
/select>
(Note: Only basic ranks are avalible other must be earned) /p>
p>X Fire User:
input type="text" name="textfield">
/p>
p>Game Spy User:
input type="text" name="textfield">
/p>
p>Terms & Conditions /p>
table width="200" border="0" align="center">
tr>
td> div align="left"> font color="#FFFFFF">Subject To Agreement you must obide by these rules: You must be over the age of 13 you must have a real copy of Call of Duty Created and produced by activision software and you must obide by the internet safety act. 1997 /font> /div> /td>
/tr>
/table>
p>Accept:
input name="checkbox" type="checkbox" value="checkbox">
/p>
p align="center">
input type="Submit" name="[email protected]?subject=D2L Sign Up" value="Submit">
input type="reset" name="Reset" value="Reset">
/p>
p>  /p>
/form>
If you could please edit it so it does work or tell me how i would be very greatly honored and please dont just link me to a site that helps i have tryed them all

  Taran 05:44 09 Sep 2005

Two main points with your form:

1. form name="form1" method="post" action="" needs to point to the form processor, and so it owuld normally read something like this:

form name="form1" method="post" action="formmail.php"

or

form name="form1" method="post" action="formmail.cgi"

The formmail.php or formmail.cgi files are web programs that take the contents of your form, process them, then email them to you.

2. Your form has loads of entries all sharing the same name, like this: name="textfield"

You should name your form fields logically, like this:

name="firstname"

name="surname"

name="telephone"

name="email"

etc.

This means when your form results reach you they are named in a manner that allows you to read what they are.

I've no clue whether or not your free web hosting allows or supports PHP or CGI scripts. I notice that a form mail script is offered with some of their accounts, in which case you could use it to process your form, assuming your account is supported.

I think you need to check with your host to see whether or not a form mail script will work on your free hosting. If not, you either have to upgrade your hosting account, use a third party hosted form service, or go with a standard mailto: link and forego a form completely.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

AMD Radeon Adrenalin release date, new features, compatible graphics cards

Turn a photo into 16-bit pixel art

iMac Pro release date, UK price & specs

Football : comment regarder la Ligue 1 en direct ?