Form Setup Using a Different Script

HTML forms and alternate script setup

Pinned Note Forms Other Scripts
Contact and quotes forms in Allwebco templates are setup to use FormMail .pl or .cgi by default. You may need to use a different script. Read the instructions included with the script you plan to use to see how it is setup. Every script will be a different. The following info will give you an outline of what may be required to use your alternate script.

Visible Fields:
The fields where people enter their name, email, comments, and so forth is generally the same for all form scripts. You will probably not need to edit the field names.


Hidden Fields:
The hidden fields and form action line will probably be what you'll need to change. Open the contact.htm or quote.htm in Notepad and look for the following lines:

<form method="post" action="http://your-domain.com/cgi-bin/formmail.cgi" target="_top">
<input type="hidden" name="recipient" value="info@your-domain.com">
<input type="hidden" name="subject" value="Website Contact">
<input type="hidden" name="redirect" value="http://your-domain.com/thanks.htm">
<input type="hidden" name="required" value="email,your_name">
<input type="hidden" name="sort" value="through,your_name,phone,email,comments">

When using a script other than FormMail .pl or .cgi you will most likely need to remove all of the above lines and replace them with the hidden values and form action code for your new contact/mail script. See the instructions that come with your new script to see how to set these options.


GoDaddy Hosting:
See GoDaddy Hosting Form Setup.


Notes:
Some hosting companies may have a contact/e-mail form script already installed for you. However, keep in mind that in most cases setting up the contact script using Formmail or another script will involve a two step process. One step will be adding or editing the hidden values, the other step will be installing the script in your control panel or into your cgi-bin directory in the hosting upload area. Contact your hosting company to see if they provide a sample working contact form.




Related Topics:
Form setup overview

Links:
Alternate Formmail script support