<wt:input/>

Description

Define an input for a template

Attributes

name The name of the variable to store the value in
control The control used to obtain the value
[default] The default value for the control
[source] If the control has options, the source of the options

Examples

Template to allow the choice of calendar

<wt:input name="Show Calendars" control="Multiple Choice Options" source="/Data/Calendars"/>

to use:

[wt:wt.vars.Show Calendars]

Template to allow the choice of form

<wt:input name="Use Form" control="Single Choice Options" source="/Forms" default="Contact Us"/>