WEB EDITOR SPECIAL PAGES CONTACT REQUEST (PHP FORM)

Overview

The PHP Contact Form page contains a form that visitors can fill in and send automatically to the e-mail address specified in Request Settings panel. In contrast to the Mailto Form, the PHP Contact Form is processed by a PHP script.

This can be any kind of feedback form - quote request or contacts form.
Please, note that we have a Video Tutorial available on this topic. You can check it out at EZGenerator Tutorials.

To add a Contact Form page to your site:
  1. Click the Web module icon in the Navigation Bar.
  2. From the File menu, select Add.
  3. In the Add Page window, select Contact Request for a page type.
  4. Choose one of the layouts containg PHP Contact Form.
  5. Set any other options you want and press OK.

Basics

The PHP Contact Request Form contains some or all of the fields available in your Contacts database. After visitor fills out the form, he uses the SEND button to send the form content as a formatted message.

You can add a Memo field to your Contacts database and use it like a message box in the form.

Two pages are automatically generated along with each Php Contact Form page - Error page and Submit page. Error page will display error message in case the form is not filled correctly. Submit page will be called after successful form submit.

You can edit default content for both Error and Submit pages.

Request Settings

The following properties are available in the Request Settings panel:

MAIN

AUTO-REPLY

MESSAGES

Accessible Fields and Special Objects

You can insert form controls for any field in your Contacts database (the yellow buttons in the Fields list),for example, create a text box for a text field, check box for a boolean field etc.

The following special objects are accessible in the Contact Request page:

Confirm email feature: You can insert second email address field in your request form to be used as confirm email field. This way you may require users to confirm their email address before submitting the form. To accomplish, this drag-and-drop second email address field from Fields panel, and change its name - for example, if your normal email field has name "EmailAddress", the confirm email address field should have name "EmailAddress_confirm".

Upload File field: You can insert Upload File field in the Contact Form and allow visitors to upload certain file(s) when submitting the form. You will receive this file(s) as attachment along with the notification email that is sent. To accomplish this, drag-and-drop custom field with type File in the Contact Form (see above). You can insert multiple File fields in a single Contact Form.

Contact Form in combination with Lister: You may need to call Contact Form from Lister page, so that some information to be passed from Lister to Contact Form. For example, you need to place button Ask for Price on Lister Categories page (next to each product), so that when visitors press it they will be redirected to Contact Form with some product information filled - Short Description, Notes or any other. To achieve this: