Quick Reference—Field Types

The following table describes the different types of fields you can mark in a HotDocs Model.

Field Type Parts of the Field Examples
Variable Field Variable name

Variable type

Variable properties (optional)

[ClientName;te;format=upper][ClientAge;nu;format=alpha ][ClientBirthDate;da;format=dd Mn, YYYY]
Conditional Text Field If / Else If / Else keyword

Variable type

Variable properties (optional)

[if:PaidSeminarDays:Document Text][if:ClientIsMarried:Document text/elseif:ClientIsDivorced: Document text/else:Document text]
Repeated Text Field Repeat instruction

Repeat field properties (optional)

Document text you want repeated

[repeat:ChildrenInformation; format="a, b, and c";ascend=ChildAge; filter=Minors:Document text]
Comment Field Comment instruction

Comment text

[comment:Calculates the monthly average]
Ask Field Ask instruction

Variable name

[ask:EmployeeStartDate]
Default Field Default instruction

Variable name

[default:HireDate="2 Nov 2008"]
Set Field Set instruction

Variable name

[set:MaritalStatus=Single]
Increment Field / Decrement Field Increment or Decrement instruction

Number variable name

[increment:TempNum][decrement:TempNum]
Insert Field Insert instruction

Model file name

Keep property with header or footer value (optional)

[insert:"healthcaredirective.docx"; keep=header]
Assemble Field Assemble instruction

Model  file name

[assemble: "healthcaredirective.docx"]
Language Field Language Instruction

Language Code

  • eng (for English)
  • deu (for German)
  • des (for Swiss German)
  • dea (for Austrian German)
  • fra (for French)
  • nld (for Dutch)
  • esn (for Spanish)
  • ita (for Italian)
  • ptb (for Brazilian Portuguese)

Decimal (optional)

Grouping (optional)

[language:fra; decimal=','; grouping='.']
Span Field Span instruction

Title (optional)

[span:ExclusionaryClause; title=Exclusions: Document Text ]

To apply colors to the fields in your HotDocs Model, click the Apply Color button on the HotDocs Markup Tools.

You can assign a comment property to any of the above-named fields.