Setting up a Contact Form List Section:
Admin > Design > Page Types > Add New Page Type : Define a "ContactForm" type based on "ListSection"
Default Fields:
BriefDescription
FullDescription
Image
Title
DateTimeCreated (System)
NumberOfViews (System)
Fields to add:
EmailAddress
Type: Text
Format: Email
Field is required
Error messages:
Format: Please enter a valid email address
Required: * Required
Name
Type: Text
Field is required
Error messages:
Required: * Required
Skins:
Content Skin:
By default, this is not used unless you want to view the submitted items inline (using ListItems.aspx).
A basic template:
List mode Undefined not found
A template for displaying items in CSV format:
"Name","Email address","Comments","Date/time created"
List mode Undefined not found
--------------------------------------------------
Item Skin:
By default, this is not used unless you want to view the submitted items inline (using ListItems.aspx).
A basic template:
Name:
Email: ralph@smartz.com
Comments:
Date/time created:
A template for displaying items in CSV format:
"","ralph@smartz.com","",""
--------------------------------------------------
Edit Item Skin:
A user has filled out the contact form with the following details:
Name:
Email: ralph@smartz.com
Comments:
--------------------------------------------------
Separator Item Skin:
By default, this is not used unless you want to view the submitted items inline (using ListItems.aspx).
A basic template:
============================================================
To set up a contact form page, a new page of this "ContactForm" type will be created, and (typically) a "Thank You" landing page (of regular HTML type) will be created as a child of the contact form page.
After creating, the following Properties need to be set on the contact form page (in Admin):
Security:
Everyone role: "Add Items" must be checked; only other item checked should be "View"
Form Submit:
Redirect After Submit:
"Redirect to" should be selected, and URL should be the "Thank You" page that is also set up
Page's Default View:
"Show the form by default" should be selected
Email New Items: Optional, but typically set up to notify an admin of new contact form entries.
"send Email" should be checked
"From" Typically select the existing "EmailAddress" field (may also use custom)
"To" Typically enter the email address for the recipient of the email notification
"Subject" Enter a custom email subject
"Body" Check the "Insert Item Skin after Body" to use the Item Page Skin (defined above) in the body of the email