Click to See Complete Forum and Search --> : Submitting a Form


ishcade
11-08-2003, 02:31 AM
OK yeah im new to all of this and im learning as i go. I have a form created but i dont know how to get it to go to my email with the submit button and then to bring up a page that says something like thanks and submited. Also i want to reset the page if they need to. Any help in this matter would really be of use. Thank u so much for ur time Ishcade

Fang
11-08-2003, 02:44 AM
Your provider normally has a "mailform" script use can use for this.
Look in their help or f.a.q. page

Add <button type="reset"></button> to reset the form

PeOfEo
11-08-2003, 08:39 AM
Yea see if your host provides an email script that runs server side. If they do not see what server side language they host and post it here after that.

ishcade
11-08-2003, 04:01 PM
ok let me show u what i have and then maybe u can see that what im looken for, i got the reset button to work out . So now i just need to know how to get the info for the Submit button, i have looked everywhere for the info im looken for and havent fount anything that works, i want this form to submit to my email account but come up with a page that says thank you for applying


<html>


<head>
<title></title>
</head>
<body text="" Background="bluesilk.jpg">

<BGSOUND SRC="" LOOP=INFINITE>


<center>
<img src="PROLogo.jpg" border="0" height="250" width="150"><P><BR><BR>

<html>
<head>
<title></title>


<body bgcolor="#000000" style="color: #FF0000; font-weight: bold">

<?PHP mail("Ishgun2@hotmail.com", "Application", "message body", "additional_headers"); ?>

<p><b><font color="#FF0000"><font size="4">Please Read the Team Policy
Before filling out this application!&nbsp; <a href=" " style="color: #FF0000"> click here</a></font></font></b></p>

<p><b><font color="#FF0000" size="3">Please have a
member sponsoring you before you fill out the application. If you do not have a
member to sponsor you at this time please go to our Roster page and add some
members to your zf they will be happy to pard ya. Then you can find one to
sponsor you.</font></b></p>


<form >
<p ALIGN="Left"><font color="#FF0000"><strong><font size="4">Name</font> </strong><input
type="text" size="27" name="Name"></font></p>
<p ALIGN="Left"><font color="#FF0000"><strong>Date of Birth, if you don't want the year listed on our roster page,tell me. We'll keep your secret.
</strong><input
type="text" size="20" name="DOB"></font></p>
<p ALIGN="Left"><font color="#FF0000"><strong>Gender</strong>
<select name="pulldown">

<option value="1">Male</option>

<option value="2">Female</option>

<option value="3">Other</option>
</select><br>

<p ALIGN="Left"><font color="#FF0000"><strong>What email address would you like for us to use?</strong><input
type="text" size="43" name="Email"></font>
<p ALIGN="Left"><font color="#FF0000">How many zone nics do you currently have? What are the 2 or 3 you use the most? Everyone has a "hider" nic,so you don't need to reveal that one . <input type="text" name="Nic" size="20"></font>
<p ALIGN="Left"><font color="#FF0000">Do you use msn messenger? <input type=radio name=msn value=yes> Yes
<input type=radio name=msn value=no> No
</font>
<p ALIGN="Left"><font color="#FF0000">If yes, what is the addy we may add you to our list
with<input type="text" name="addy" size="20">&nbsp;<br>

<strong><br>
Do you have a +Nic? <input type=radio name=MPlus value=yes> Yes
<input type=radio name=MPlus value=no> No&nbsp;&nbsp; If yes what is it? <input type="text" name="Nic" size="20"><br>
<br>

<p ALIGN="Left"><font color="#FF0000"><strong>How long have you been on
the zone? </strong><input type="text" size="20"
name="zone"></font>
<p ALIGN="Left"><font color="#FF0000">Please list all clubs/teams you have been
affiliated with.&nbsp; <input type="text" name="affiliations" size="20"></font>
<font color="#FF0000">
<p ALIGN="Left"><font color="#FF0000"><strong>Who Referred You to PRO?</strong><select name="pulldown">

<option value="1">PRO_DrFeelGood1</option>
<option value="2">PRO_GingerSnaps</option>
<option Value="3">PRO_Miscous1</option>
<option Value="4">PRO_Ishcade</otion>
</select><br> </font></p>
<p ALIGN="Left"><font color="#FF0000"><strong>Name of the PRO member sponsoring you?</strong>?</strong><select name="pulldown">

<option value="1">PRO_DrFeelGood1</option>
<option value="2">PRO_GingerSnaps</option>
<option Value="3">PRO_Miscous1</option>
<option Value="4">PRO_Ishcade</otion>

</select><br> </font></p>
<p ALIGN="Left">What times are you usually on the zone give time zone
please.&nbsp;&nbsp;&nbsp; <input type="text" name="T1" size="20"></p>
<p ALIGN="Left"><font color="#FF0000"><strong>If accepted what would you
like for your PRO_&nbsp; Nickname to be the first choice will be your nickname if accepted and the name is approved?</strong><!--webbot bot="Validation"
b-value-required="TRUE" i-maximum-length="15" --><input
type="text" size="15" name="first" maxlength="15" value="PRO_">&nbsp;&nbsp; <!--webbot
bot="Validation" b-value-required="TRUE" i-maximum-length="15" --><input type="text" name="second" size="20" value="PRO_" maxlength="15"></font></p>
<p ALIGN="Left">Please list all PRO Members you have partnered. <input type="text" name="Parded" size="20"></p>
<p ALIGN="Left"><strong><font color="#FF0000">Please post 2 Tournament
Banners winners or runners-up!<br>
<textarea rows="9" name="banners" cols="52"></textarea></font></strong></p>
<p ALIGN="Left"><font color="#FF0000"><strong>Briefly tell us a little bit
about yourself including reason you want to join Pro!</strong></font><textarea rows="6" name="Self" cols="53"></textarea></p>
<p ALIGN="Left">Do you know how to copy and paste?<input type=radio name=Copypaste value=yes> Yes
<input type=radio name=copypaste value=no> No<br</p>
<p ALIGN="Left">If accepted will you abide by the TEAM ethics? <input type=radio name=ethics value=yes> Yes <input type=radio name=ethics value=no
<p>No </p>
<p ALIGN="Left">Have you read the Zone COC? <input type=radio name=ReadCOC value=yes> Yes
<input type=radio name=ReadCOC value=no> No<br>

<INPUT TYPE="reset" onSubmit="parent.location='thanksalot.html'";></p>

</form>
</font>
</body>
</html>


any help would be greatly appreciated.

PeOfEo
11-09-2003, 12:21 AM
try this
<INPUT TYPE="hidden" NAME="order" VALUE="feild1, 2, 3, so on, so fourth">
<INPUT TYPE="submit" VALUE="Submit">
if this is not working make sure you server supports php since that is what you are tring to use to submit this from your code.