Contact and Quotes Form Setup Using Godaddy Hosting
Godaddy form setup with Allwebco Web Templates
The contact and quote forms in an Allwebco template are setup to use a Formmail script to send the information to your email address. However with GoDaddy hosting the type of script to be used will vary depending on the type of hosting account you have. Each script will be a little different. The information below is only a basic outline of how to setup these forms.
Allwebco provides this information as a courtesy to our customers using GoDaddy hosting. It is by no means complete information on the services provided by GoDaddy to their hosting customers. For the most accurate, up-to-date information on the services provided with your hosting account, you will want to contact GoDaddy support.
Visible Fields:
The boxes, or fields, where visitors enter their name, e-mail and so forth, is generally the same for all form scripts. You will probably not need to edit these and can use the fields that are already formatted in your Allwebco web template model on the contact and quotes pages.
Deluxe or Unlimited Hosting Accounts:
For GoDaddy customers with a "Deluxe" or "Unlimited" account, both Linux and Windows, you can use a third party script, such as the FormMail script we recommend, to setup your contact or quotes form. You will want to follow the instructions on the Quick Steps to Setup Formmail support page.
One difference between the code that will be in your Allwebco template form page now, and what GoDaddy requires may be the directory which contains the formmail script. Please check the control panel in your GoDaddy hosting account and verify the directory name, "cgi" or "cgi-bin". We were unable to verify this with GoDaddy as it is account specific. If your directory name is "cgi", then you will replace the "cgi-bin" in the line below with "cgi":
Economy Hosting Accounts:
For GoDaddy customers with "Economy" accounts, you will need to use the proprietary GoDaddy formmailer included with your account. There are several different types of formmailers used by GoDaddy. We will use the "gdform.php" as an example. Setup of other forms will be similar. GoDaddy provides the code to add to your HTML page in the Godaddy help center. You can search for "formmailer" or the specific file name for help.
The hidden fields, the code that "sends" the email to your domain address, are what you will need to replace with the script from GoDaddy. Open the contact.htm or quotes.htm in Notepad and look for the following lines listed below:
You will need to remove all the above lines and replace them with the hidden values from your new contact/mail script. You will need to see the instructions that come with your Godaddy script to see how this gets setup.
Example:
Using the GoDaddy "gdform.php" script for shared Linux accounts, you would replace the example lines above in your contact.htm or quotes.htm with the "form" information from the GoDaddy support page for the Godaddy PHP Form-Mailer.
In the above code, you can edit the "subject" value, "Form Submission", with your own text which will be the subject of the email message you receive. You will also want to replace the "thankyou.html" with your redirect page name, e.g. "thanks.htm", or rename the "thanks.htm" included in the template to "thankyou.html". This is the "return" page a client is sent to when your form is submitted.
Notes:
The GoDaddy contact/e-mail script should already be installed for you in your hosting site, however, you may need to configure this script or setup the email address in your GoDaddy account manager that you want to use on your contact or quotes form. Contact GoDaddy directly for information and instructions regarding e-mail setup and e-mail redirection.