The code for creating a contact form is provided on the next page, however first we wanted to explain how a contact form works.

When a visitor goes to a contact page on your website, they will have a set of fields they need to enter.  Once they have filled in the fields, they will hit the submit button and it will automatically be sent to an email address you specify.  Behind the scenes, what happens is when the submit button is hit, the request is sent to a Perl Script or php file, which then reads the request and sends it to your email address.  This is all an automated process and a deep understanding of Perl Script or php is not required in order to make the contact form work.

When you receive the email, all the questions that you asked from the visitor will be filled in, each time in the same order and format.  This is great as it is easier to read and understand a request or feedback if it is answered in the same manner each time.  Also, if you change your email address you want the form to be sent to, only a simple edit of the file needs to be done to make any modifications so that you receive the email to the new email address. 

After a visitor submits their request, you can set it so that the visitor is automatically sent to a page that has any message you want.  For example it can say "Thank you for your feedback!" or "We will respond to your request shortly!"  This is a way for the customer to know that you received the information they submitted.  Setting up a contact form does take longer then just supplying an email address, however the benefits discussed in the previous section make it worth the extra time if it will help your website.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Comments

n/a Points
2014-07-16 6:17 pm

Good Article

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}