Getting Started Website Settings Pages & Sub-Pages



Adding Forms

2MExpress has a built in form mail script (PHP) that emails form content to a specified email address. (The address may be changed via the Express Panel.) The script will email all input fields.

Regular Users
Two pre-made forms are provided with 2MExpress. One is a basic contact form, and the other is a more comprehensive version.To install a form:

  1. Launch the WYSIWYG editor by clicking the icon.
  2. Click the 2MX icon.
  3. Click the forms tab, and click on the desired form.

The pre-made forms can be easily modified. Example: If a user does not want the “phone” field, it may be easily removed by selecting it in the WYSIWYG editor, and pressing the delete key on the keyboard.

Fields may be added by clicking the form icon in the WYSIWYG editor toolbar, and adding any type of field, (Checkbox, radio button, textarea, etc.) All form content will be mail to the user – it’s that simple.

Advanced Users
Custom forms may easily be made via the tools in the WYSIWYG editor. However, there are several requirements.

  1. The form tag action must be "fm.php" in order for the form to work correctly. The form method should be "post" – and the name of the form does not matter.

  2. There are four tags that must be included in all forms:
    mx_subject:Mail subject sent to site owner
    mx_to:Email address to send the form contents to
    mx_from:Email address that site owner may reply to once receiving the message.
    mx_thanks:The thank you message that appears after submitting the form.

  3. Form fields that start with “r_” are required, and website visitors will not be able to submit forms unless all required fields are completed.

  4. The “email” field of all forms will be checked to ensure users input a valid email address.
Sample form
 
Name:
Email:
Subject:
Phone:
Your Enquiry:



 


Last update: 02/15/06 14:16:00
Copyright © 2005 2MExpress, a division of 2MHost.com. Web Hosting by 2mHost.com