Template Form Fields

 

You can make any template into a form by adding template form fields into your template content. When users create a message using the template content, they will be taken to a form that prompts them to fill in blocks of text. These blocks will then be inserted into the content where you inserted the template form fields.

 

In order to make a content template that presents users with a form, you must insert template form fields into your content where you'd like users to be prompted to fill in information. These template form fields may be in either the text or HTML portions of the content. They may also be in the header to prompt users for a From: or Subject: line, while suggesting a default entry.

 

There are two kinds of template fields: a line, and a paragraph. A line prompts the user for a single line of text, whereas a paragraph prompts them for a larger block of text.

 

The syntax for including a line in a form is:

 

##line "field label" "default text"##

 

line

The command to automatically include a template form field for a single line.

 

"field label"

The label the field will have in the template form.

 

"default text"

(Optional) The default text that will be in the template form field.

 

The syntax for including a paragraph in a form is:

 

##paragraph "field label" "default text"##

 

paragraph

The command to automatically include a template form field for a paragraph.

 

"field label"

The label the field will have in the template form.

 

"default text"

(Optional) The default text that will be in the template form field.



Invite Advanced Scripting Index