This tfdoc demonstrates how to use some of the fancy new input variables, including dates, options, textareas.
<?xml version="1.0"?>
<treeform version="0.2">
<container id="inputs" print="false" caption="Input Variables">
</container>
<container id="main" caption="Letter to Landlord">
</container>
<input id="sampledateA" type="date" constrainInput="true" container="inputs">
Date of report, forced to choose from the calendar:
</input>
<input id="sampledateB" type="date" container="inputs">
Date of first event (you can type your own text if you want):
</input>
<input id="address" type="textarea" container="inputs" rows="5">
Type an address (this is a multi-line box where you can type newlines):
</input>
<input id="mystatus" type="select" container="inputs" optionlist="I am a tenant|I am an owner|I am a nosy neighbor" init_value="I am a tenant">
My relation to this property:
</input>
<input id="complaintlist" type="select" container="inputs" optionlist="Leaking sink|Loose floorboards|No heat|No air conditioning|Broken cabinet doors|Crazy neighbors|Bad smell in closet|Windows won't open" multiple="true" size="8">
Complaints I would like to express (NOTE: hold the control key to select more than one!) :
</input>
<node type="checkbox" caption="Dates" init_checked="true">
<output container="main">
I am writing to you on this day of {%sampledateA%}, about a situation i first noticed {%sampledateB%}.
</output>
</node>
<node type="checkbox" caption="Address" init_checked="true">
<output container="main">
The address of the domicile I am writing about is:
[indent]{%address%}[/indent]
</output>
</node>
<node type="checkbox" caption="My Status" init_checked="true">
<output container="main">
My relationship to the property is: {%mystatus%}.
</output>
</node>
<node type="checkbox" caption="Problem List" init_checked="true">
<output container="main">
I am writing to note the following problems:
{$ListToBBBullets({%complaintlist%})}
</output>
</node>
<node type="hidden">
<output container="main" align="right">
Thank you very much,
Sincerely,
Your #1 fan.
</output>
</node>
</treeform>