Back to List
Placeholder | Replace With |
text | A text value, such as a Text variable. HotDocs counts the characters in this value and assigns a numeric value. |
The length expression counts the number of characters—including spaces and punctuation—in a text value, such as a Text variable.
For example, let’s say you want a user to add a descriptive paragraph about the novel he or she has just reviewed. If the description is brief, you’d like to keep it in the same paragraph as the lead-in sentence. However, if the user has a longer description about the novel, you would like to start a new paragraph:
[if:length( PlotDescription ) <= 150: The novel's plot description is as follows: [PlotDescription;te]/else:The novel's plot description is as follows:
[PlotDescription;te]
]
Back to List