Search  
   
Browse by Category
 
Netfirms 24/7 Support .: EMAIL .: C. Formmail/Webforms .: How do I configure my web form?

How do I configure my web form?

To ensure your web form functions properly, we suggest reviewing the following:

If the web forms are not being delivered to your email address after someone completes and submits a form from your website, please check the following guidelines:

1. Ensure that there are no spaces in the name of your form page. For instance name your form page contact_us.htm rather than contact us.htm.

2. Ensure that you are using a valid formmail script to send the form. If you are using Netfirms pre-installed formmail script, you should have the following similar line of coding on your web form:

<form action="/cgi/formmail" method = "POST">

3. Ensure you have inputted a valid recipient email address to receive the web forms. You should have the following similar line of coding on your web form:

<input type="hidden" name="recipient" value="you@yourdomain.com">

Note: you@yourdomain.com should represent the email address that should receive the web form.

IMPORTANT: If you do not include a recipient value then the browser will return a "Bad Referer" error message. This is for security reasons to ensure that the account owner is the only one allowed to set the form page to receive formmail.

If you do not receive the web form to you@yourdomain.com, please try the following to troubleshoot:

(i) try to send an email from your POP client or from webmail to ensure that your email account can receive email sent from outside of the webform.
(ii) replace the you@yourdommain.com with an alternative email address

Troubleshooting Tips: Once you have created and published your web form according to the instructions, you should test your web form. If you are not receiving emailed copies of the webforms submitted from your website, click here for troubleshooting tips.

Optional: To minimize spammers from submitting your form, we suggest that you implement captcha. For more information and a free captcha script, we suggest trying http://recaptcha.net/ (this site has no affiliation to Netfirms).


HTML Code for Sample Form:

<html>
<head>
</title>
Contact Form
</title>
</head>
<body>

<form action="/cgi/formmail" method="POST">

<!--Name Field-->
Name:
<input type="text" name="Name">
<br>

<!--Phone Number Field-->
Phone Number:
<input type="text" name="Phone">
<br>

<!--Name Field-->
Name:
<input type="text" name="Name">
<br>
<br>

<!--Checkbox Option-->
I have a bike:
<input type="checkbox" name="vehicle" value="Bike">
<br>
I have a car:
<input type="checkbox" name="vehicle" value="Car">
<br>
I have an airplane:
<input type="checkbox" name="vehicle" value="Airplane">
<br>
<br>

<!--Radio Buttons-->
<input type="radio" name="gender" value="male"> Male
<br>
<input type="radio" name="gender" value="female"> Female

<input type=hidden name="recipient" value="you@yourdomain.com">

<br><br>
<!--Submit Button-->
<input type="submit" value="Submit">

</form>

</body>

</html>


How helpful was this article to you?


.: Powered by Lore 1.5.6
Visit Netfirms.com Web Hosting | Copyright © 1998 - 2009 Netfirms, Inc. All Rights Reserved.