Tags
-
- mt:ContactForm
- mt:ContactFormFields
- mt:ContactFormFieldValueLoop
- mt:ContactFormFieldValue
- mt:ContactFormFieldLabel
- mt:ContactFormFieldHint
- mt:IfContactFormOpen
- mt:IfContactFormFieldRequired
- mt:ShowContactFormFieldLabel
- mt:ShowContactFormFieldHint
- mt:ContactFormFieldType
- mt:ContactFormID
- mt:ContactFormResponseText
- mt:ContactFormAutoReplyText
- mt:ContactFormName
- mt:ContactFormHTML
mt:ContactForm
This template tag is a block, or container tag that establishes a
context containing a contact form corresponding to the given ID. This tag
is required in order to use virtually every other Contact Form plugin
template tag.
Attributes:
- id (required)The ID of the contact form being loaded.
mt:ContactFormFields
This template tag must be invoked within the context of a contact form.
This tag is used to then look over each of the fields associated with the
current contact form in context, in the order chosen by the user who created
or last edited the form.
This template tag takes no arguments.
Attributes:
None.
mt:ContactFormFieldValueLoop
This template tag is a container tag that loops over the current form
field’s list of allowable values. This is used for example in conjunction
with a pull-down menu or radio button to iterate over each menu option or
radio button respectively.
Attributes:
None.
mt:ContactFormFieldValue
This template tag is a container tag that outputs the current value in
context set by invoking the ContactFormFieldValueLoop tag.
Attributes:
None.
mt:ContactFormFieldLabel
This template tag outputs the label of the form field currently in
context. This tag must be invoked within the context of a ContactFormFields
loop.
Attributes:
None.
mt:ContactFormFieldHint
This template tag outputs the hint text of the form field currently in
context. This tag must be invoked within the context of a ContactFormFields
loop.
Attributes:
None.
mt:IfContactFormOpen
This template tag is a container tag whose contents will only be evaluated
and output if the current contact form in context has a status of “open.”
As it is a conditional tag, this tag can also be used in conjunction with
the mt:else tag.
Attributes:
None.
mt:IfContactFormFieldRequired
This template tag is a container tag whose contents will only be evaluated
and output if the current contact form field in context is a required
field. As it is a conditional tag, this tag can also be used in conjunction
with the mt:else tag.
Attributes:
None.
mt:ShowContactFormFieldLabel
This template tag is a container tag whose contents will only be evaluated
and output if the current contact form field in context has a preference to
display the field’s label. As it is a conditional tag, this tag can also be
used in conjunction with the mt:else tag.
Attributes:
None.
mt:ShowContactFormFieldHint
This template tag is a container tag whose contents will only be evaluated
and output if the current contact form field in context has a preference to
display the field’s hint text. As it is a conditional tag, this tag can also
be used in conjunction with the mt:else tag.
Attributes:
None.
mt:ContactFormFieldType
This template tag is a function tag that outputs the field type of the form
field currently in context.
Attributes:
None.
mt:ContactFormID
This template tag is a function tag that outputs the ID of the current
contact form in context.
Attributes:
None.
mt:ContactFormResponseText
This template tag is a function tag that outputs the text of the message
that will be displayed to the user immediately following a contact form
submission. This tag is used almost exclusively by the system template with
a name of “Contact From Response.”
Attributes:
None.
mt:ContactFormAutoReplyText
This template tag is a function tag that outputs the text/message that will
be sent to the user automaticcaly via email after a contact form submission.
Attributes:
None.
mt:ContactFormName
This template tag is a function tag that outputs the name/title of the
current contact form in context.
Attributes:
None.
mt:ContactFormHTML
This template tag is a function tag that outputs the HTML of the contact
form designated by the user. The HTML returned by this tag is determined
by processing the System or Local (preferred) system template with the
name of “Contact Form.” If you wish to customize the output of this tag,
one should look for and edit one of those templates.
Attributes:
- id (optional)The ID of the contact form whose HTML you want to generate. If omitted, then
the tag will default to using the first contact form created for the
current blog.
Get Updates on New Movable Type Themes
We respect your email privacy! We won't share your email address with any unauthorized third party ever!
"It's a thrill to see the iThemes team creating great, professional designs for the Movable Type community. They've thought of everything from SEO to super-easy customization."
-Anil Dash, Vice President, Six Apart