Logo


P. Jacobs Web Design & Development Customer Support Pages


Form To E-Mail Script

Our standard set of scripts will only work if you have requested them to be added to your web site. Once they have been added there will be a directory called /cgi off /web in your root directory. Please note that our scripts are designed to function for our FTP users only.

Adding a Form to your Website

To add a form to your web site, simply cerate the HTML layout of your choice calling each field a different name. You can use the example code below as reference. Replace the recipient value to an email address of your choice, the subject value of your choice and a redirect page of your choice. The redirect page is displayed when the form has been successfully submitted.

Sample Text Box:

Sample Scrolling Text Box:


The code below will create the form shown above:

<form method="POST" action="http://www.yourdomain.com/cgi/FormMail.pl">
<input type="hidden" name="recipient"
value="your@emailaddress.com"><input type="hidden" name="redirect" value="http://www.yourdomain.com/yoursuccesspage.html"><input type="hidden" name="subject" value="Subject you would like in your email"><div align="center"><center><p>Sample Text Box:<br><input type="text" name="box1" size="14"></p> </center></div><div align="center"><center><p>Sample Scrolling Text Box:<br> <textarea rows="2" name="box2" cols="12"></textarea></p> </center></div><div align="center"><center><p><input type="submit" value="Submit" name="submit"><input type="reset" value="Reset" name="reset"></p> </center></div>
</form>

The Code in Detail

<form method="POST" action="http://www.yourdomain.com/cgi/FormMail.pl">

Replace 'yourdomain.com' with your own domain name.

<input type="hidden" name="recipient" value="your@emailaddress.com">

Replace 'your@emailaddress.com' with the email address you would like the form submission sent to.

<input type="hidden" name="redirect" value="http://www.yourdomain.com/success.html">

Replace 'yourdomain.com/success.html' with your own domain name and success page.

<input type="hidden" name="subject" value="Subject you would like in your email">

Replace 'Subject you would like in you email', with a subject line of your choice which will appear as the subject your email.

Return To The Support Homepage

 
 

Copyright 2000, P. Jacobs Web Design & Development. All Rights Reserved