Search Help:  
     
    Enter your inquiry as a question or phrase. Tips

    How do I customize my email form?

    You can customize three aspects of your form. To get started, review the code for the Email Form you prefer:

    1. Go to the Create & Update tab of your Web Hosting Control Panel and click the "Add-Ons" link.
    2. Choose "Email Forms."
    3. You'll see a sample form on the left side of the page. To find the code for this form (Sample Email Form 1), click the corresponding link in the right column. To see the code for another form sample, click the link in the right column that says "Sample Email Form 2." (Both links will bring you to the "Install Forms" page for that form.)

    Subject:
    Locate the two lines in your form code that look like this:

    <!-- Option 1 -->
    <input type="hidden" name="subject" value="Survey Results">
    You can specify a subject for the form by changing the value from "Survey Results" to something more meaningful to you. The value you enter here will appear as the subject and in the body of the message you receive containing your form results.

    Required Fields
    Locate the two lines in your form code that look like this:

    <!-- Option 2 -->
    <input type="hidden" name="required_fields" value="Name,URL">

    Change the value to specify the fields that your visitors will be required to fill out before they can submit your form. In the example above, the fields called "Name" and "URL" are required. (You can find the name of a field by looking for "input type" tags in the form code. In Sample Email Form 1, for example, you'll find this line in the code beneath "Your first name:": <input type="text" name="Name" size="27"> — this indicated that the name of the "Your first name:" field is "name.") To remove this feature, omit the entire line.

    Confirmation Page
    Locate the two lines in your form code that look like this:

    <!-- Option 3 -->
    <input type="hidden" name="next_url" value="http://www.yourdomain.com/confirmation.html">

    You can specify the page that will display after a site visitor clicks the "Submit" button on your form (you might create a special confirmation page for your form and send your visitors there). In the example above, the user will be sent to a page called "confirmation.html." If you choose not to specify a page here, go ahead and remove the entire line; your visitors will instead see a default message showing them what their form submission will look like.

    Was this article helpful?

    Yes   No
    Click to contact Customer Care for further assistance.