steveo81
10-06-2006, 03:35 PM
im trying to make a contact form. using includes. but when i press the submit button, nothing happens. Also I need help with a confirmation page, (i can make the page) just need to figure out how to make the submit button send me the form, and redirect the user to the confirm. page. Help please.
here's what i got.
<SCRIPT LANGUAGE="php">
if(false){
</SCRIPT>
<html>
<head>
</head>
<body>
<SCRIPT LANGUAGE="php">
}
</SCRIPT>
<html>
<body>
<form action="MAILTO: My email addres here- I know " method="post" enctype="text/plain">
<h3>Questions or comments about our site? </h3>
<h3>Please fill out the form below.</h3>
<fieldset>
</legend>
First Name:<br>
<!--webbot bot="Validation" s-data-type="String" b-value-required="TRUE" i-minimum-length="2" i-maximum-length="20" --><input type="text" name="firstname" size="30" align="center" maxlength="20">
<br>
Last Name:<br>
<!--webbot bot="Validation" s-data-type="String" b-value-required="TRUE" i-minimum-length="2" i-maximum-length="20" --><input type="text" name="lastname" size="30" align="center" maxlength="20">
<br>
E-Mail Address:<br>
<!--webbot bot="Validation" b-value-required="TRUE" i-minimum-length="2" i-maximum-length="40" --><input type="text" name="mail" size="30" align="center" maxlength="40">
<br>
</form>Reason:<br>
<select name="contactform">
<option value="General" selected>General Question</option>
<option value="Joke Submit">Submit Joke</option>
<option value="IdeaSubmit">Submit Idea</option>
<option value="BusinessHome">Submit Home Based Business</option>
<option value="ErrorReport">Request Link To Your Business</option>
<option value="ErrorReport">Report A Site Error or Broken Link</option>
<option value="Other">Other</option>
</select>
</form></p>
Comment:<br>
</textarea>
<!--webbot bot="Validation" b-value-required="TRUE" i-minimum-length="1" i-maximum-length="1000" --><textarea rows="10" cols="37" align="center" name="Comments">
</textarea>
<br>
<input type="submit" value="Send" name="send">
<input type="reset" value="Reset">
</body>
</html>
</form>
</fieldset>
<SCRIPT LANGUAGE="php">
if(false){
</SCRIPT>
</body>
</html>
<SCRIPT LANGUAGE="php">
}
</SCRIPT>
here's what i got.
<SCRIPT LANGUAGE="php">
if(false){
</SCRIPT>
<html>
<head>
</head>
<body>
<SCRIPT LANGUAGE="php">
}
</SCRIPT>
<html>
<body>
<form action="MAILTO: My email addres here- I know " method="post" enctype="text/plain">
<h3>Questions or comments about our site? </h3>
<h3>Please fill out the form below.</h3>
<fieldset>
</legend>
First Name:<br>
<!--webbot bot="Validation" s-data-type="String" b-value-required="TRUE" i-minimum-length="2" i-maximum-length="20" --><input type="text" name="firstname" size="30" align="center" maxlength="20">
<br>
Last Name:<br>
<!--webbot bot="Validation" s-data-type="String" b-value-required="TRUE" i-minimum-length="2" i-maximum-length="20" --><input type="text" name="lastname" size="30" align="center" maxlength="20">
<br>
E-Mail Address:<br>
<!--webbot bot="Validation" b-value-required="TRUE" i-minimum-length="2" i-maximum-length="40" --><input type="text" name="mail" size="30" align="center" maxlength="40">
<br>
</form>Reason:<br>
<select name="contactform">
<option value="General" selected>General Question</option>
<option value="Joke Submit">Submit Joke</option>
<option value="IdeaSubmit">Submit Idea</option>
<option value="BusinessHome">Submit Home Based Business</option>
<option value="ErrorReport">Request Link To Your Business</option>
<option value="ErrorReport">Report A Site Error or Broken Link</option>
<option value="Other">Other</option>
</select>
</form></p>
Comment:<br>
</textarea>
<!--webbot bot="Validation" b-value-required="TRUE" i-minimum-length="1" i-maximum-length="1000" --><textarea rows="10" cols="37" align="center" name="Comments">
</textarea>
<br>
<input type="submit" value="Send" name="send">
<input type="reset" value="Reset">
</body>
</html>
</form>
</fieldset>
<SCRIPT LANGUAGE="php">
if(false){
</SCRIPT>
</body>
</html>
<SCRIPT LANGUAGE="php">
}
</SCRIPT>