Step #1: Create a new Form DCR
You can do this by clicking on File/New Data Record. Then when the popup window comes up, select Content and then Form.
Step #2: Give the form a name.
Go ahead and fill in the name field for this form. Do *NOT* include any spaces in the form name. If you need to separate words, use UNDERSCORE's.
Step #3: Add Fields
Add as many fields as you will need to ask the questions you want on your form. For each field you will need to select a field type. (to indicate whether the visitors can see the field, and what sort of field it is) For example, if you want to create a form to collect Name, Email Address, and Comments, you would add three fields. This example is illustrated below.
- Field Type (SPECIAL): name
Field Name: Name
Prompt: Please Enter your Name
- The prompt area will show up on the form to ask the indvidual to do what you have written.
Required: Checked
- Field Type (SPECIAL): email
Field Name: Email
Prompt: Please Enter your Email Address
Required: Checked
- Field Type: textarea
Field Name: Comments
Prompt: Please Leave Us Your Comments
Required: UnChecked
Step #4: Add a System Variable called destination_email
Add another field to your form. Select 'SPECIAL: system variable' as the field type, and for the Field Name enter destination_email. This is a special field which the system will look at and, if it exists, will send the data acquired by the form to it. For it's value, you may enter any number of email addresses, separated by commas.
Note: Email addresses are not separated by a @ sign but by a # sign. An example is name#crusade.org.
Step #5: Add a System Variable called required
Add one more field to your form. Select 'SPECIAL: system variable' as the field type, and for the Field Name enter required. This field will tell the system which fields need to be filled out before the form can be submitted by an individual. For it's value, enter the field type names (ie. name, email, textarea, etc.) that you entered in above fields, separated by commas.
Step #6: Save, Submit and Deploy
Once you have completed all of the above steps, save your form, using the same name as you gave it in Step #2. Again, make sure you don't have any spaces or special characters other than text and underscores in the name. Once it is saved, Direct Submit the form DCR to staging and use Deploy on Demand to send it to the web server when you're ready.