This is a generic Form using the Shared CGI Script
DisplayHTML Code

Name:

Email:

Comments:

<form name="myform" method="post" action="http://www.tdstest.com/cgi.share/mailer.cgi">
<input type="hidden" name="recipient" value="testuser@tds.net">
<input type="hidden" name="subject" value="TEST email form">
<input type="hidden" name="redirect" value="/thankyou.html">

<input type="hidden" name="print_config" value="email">
<input type="hidden" name="required" value="CustomerName,emailAddress">

<p>Name: <input type="Text" name="CustomerName" size="25">
<br>
<p>Email: <input type="Text" name="emailAddress" size="50">
<br>
<p>Comments: <textarea cols="25" rows="5" name="Comments"></textarea>
<br>
<input type="submit" name="S1" value="Submit">
<input type="reset" name="R1" value="Reset">
</form>

 

Additional Settings for creating a CGI form

This is a generic Form Using PHP
DisplayCode
Email:
Name:
Company:

Message:

<form name="myform2" method="post" action="sendmail.php">

Email:<input name="email" type="text" /><br>
Name: <input name="name" type="text" /><br>
Company: <input name="company" type="text" /><br>

<br />
Message:<br />
<textarea name="message" rows="15" cols="40">
</textarea>
<br />
<input type="submit" />
</p>
</form>

Create a sendmail.php file using the text to the right <?php
$email = $_REQUEST['email'] ;
$name = $_REQUEST['name'] ;
$company = $_REQUEST['company'] ;
$message = $_REQUEST['message'] ;

$mailbody = "
Info Form -----------------------
Name: $name
Company: $company

$message";

mail( "testuser@tds.net", "Contact Information Form",
$mailbody, "From: $email" );
header( "Location: /thankyou.html" );
?>