PAGES
LIVE
Request
To add a Request page to your site:
- Go to the Editing Tools.
- Press Live (Php) button in Insert page section and select Request page.
- Select preferred layout preset. Request page has a few predefined layout presets.
- Set any other options you want and press OK.
 |
You can preview this page only when uploaded on a PHP enabled server. To test this functionality offline you can Install your own test server on your PC. |
Basics
The Request Form is a form where visitors fill certain info, submit and the information is auto sent as formatted message to the email address specified in the Request Settings panel. The form is processed by a PHP script. This can be any kind of feedback form - quote request or contacts form.
One extra page is automatically generated along with each Request Form - Submit page. Submit page is the page that is displayed after successful form submit.
Request Settings
The following properties are available in the Request Settings panel, accessed from the . Make sure to configure these settings.
Settings
- Send Notification to (edit
box) - Enter here the email address the form should be sent to. You can set multiple email addresses, using (;) as delimiter.
- From (editbox) - Specify email address to be used as "From". Use different email address than in "Send to" to avoid email being marked as spam.
- BCC(edit
box) - Enter here email address the form should be sent to as BCC. You can set multiple email addresses, using (;) as delimiter.
Notification E-mails
When the request form is submitted, notification email is sent to admin with the information filled by user, and if Enable Auto-Reply is checked (see below), auto-reply is sent to the user who submits the form.
- Admin Notification (button) - Press this button to set subject and message for the notification email. You can use form field macros in both fields. Example: Visitor %Name% submitted request. Default message contains %FORM_DATA% macro and will be replaced with list of all form field values. If you want to include only some of them, remove %FORM_DATA% and use form field macros (%Name% , %Email%, %Place%, etc).
- Auto-Reply E-mail (button) - Press this button to set subject and message for the auto-reply email. You can use form field macros in both fields (%Name%, %Email%, %Place%, etc).
- Sender email address in 'From' (check
box) - Enable this checkbox if you want to use visitor's email address as 'From' address when sending the form. Note, that this option is not supported on all servers.
- Enable Auto-Reply (check
box) - Auto-reply function will send e-mail to visitor of your site when form is successfully submitted.
Advanced
- Allow Upload File Extensions (edit box) - If you use Upload File field in your Contact Form, you can set here file types that can be uploaded by user that fills the form.
- Forbid url's (check box) - Check this box if you want to forbid users to include url's in the request.
Accessible Macros Fields
Each page has Macros Fields panel, accessed via Editing Tools. This panel contains objects that you can insert on page. You can also insert additional fields from here.
The following special
objects are accessible in the Contact Request page:
- Fields - Allows
you to add custom fields to your request page - TEXT, EMAIL, LIST, MEMO, CHECKBOX, RADIO BUTTON, IMAGE FIELD, FILE FIELD, BUTTON FIELD, DATE PICKER, DATE FIELD, TIME FIELD, PWD (password) and HIDDEN . When you insert custom field you have to set Name and Value. When ready, simply drag-and-drop the field into the form. For more information check Macros/Fields. After you insert the field, double-click on it to access its Properties.
Hidden fields are not visible or accessible
to the site visitors, but can be used to pass certain data, for example,
the page from where the form was sent, or to help you to categorize the
information
when you receive it.
- Submit Button - Creates an image
button "send", which sends the form content. The following initialization properties
are available: Caption (text
box) - Lets you set the button caption.
- Reset Button - Inserts an image button
"reset", which clears all contents in the web form. The following
initialization properties are available: Caption (text
box) - Lets you set the button caption.
- Default Submit Button - Creates standard HTML submit
button "send", which sends the form content. The following initialization properties
are available: Caption (text
box) - Lets you set the button caption.
- Default Reset Button - Inserts standard HTML rest button
"reset", which clears all contents in the web form. The following
initialization properties are available: Caption (text
box) - Lets you set the button caption.
- Nopagefooter - Inserts NOFOOTERONPAGE macros in current page, which means that fotter will not be appended on this page. See Macros.
- Captcha - This object generates
CAPTCHA in your request page. Captcha is a mechanism that will guarantee only humans may submit your request form. Here is how CAPTCHA works - a random code is generated and user is required to type this code in an edit box. The form cannot be submitted until the user correctly fills the code. Note that the random captcha code will be displayed as image, only if your server supports PHP GD library. Otherwise the random code will be presented as plain text, which is not so secure.
- Logged info - This object generates logged info macro in your site - %LOGGED_INFO%. This macro is applicable for protected pages or pages with admin screen (as Online Editable Page, Calendar, etc) and will show username of the logged user along with link to user profile's page and logout link. Check Page Protection for more info on page protection.
Extra Features
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 FILE FIELD in the Contact Form (see above). You can insert multiple File fields in a single Contact Form.