Text variables are used to merge text, such as names or descriptions, into assembled documents. They also merge numbers that are never added, subtracted, and so on, such as telephone numbers, U.S. Social Security numbers, and times of day.
When you create a Text variable, you can add a title or prompt to help the user know what information is required. You can also decide how answers will be formatted when they are merged into the assembled document. Finally, you can add a resource.
Once a variable is created, you can edit it at any time. See Edit a Variable.
To | Do This |
Specify a default format that will be applied to all instances of the variable (except when a field-specific format has been assigned) | Select a format from the Default format drop-down list. (See Format the Variable and How Example Formats are Interpreted.)
Optionally, to keep the answer from breaking across lines in the document, select Non-breaking. |
Specify an alternate name for the variable | Enter a title in the Title field.
See Understand How Component Titles and Prompts are Used for a description of how and when variable titles are used. |
Provide users with additional information about the variable | Enter a prompt in the Prompt field. This information replaces the Variable name and Variable title when the variable is presented during the interview. (See Create a Prompt for a Variable.) |
Change the height of the answer field that appears in the interview, allowing it to show more than a single line | Either type the number of answer field lines (up to 12) in the Field height field, or click the up or down arrows to select a number.
Changing the answer field height affects only how large the answer field appears in the interview—not how long the answer can be. To limit the answer length, enter a number in the Maximum characters field. |
Control how an answer is merged in a Word document when the user presses Enter in a multi-line answer field.
The type of answer required determines which break should be used. For example, if the user must enter separate paragraphs of text, HotDocs should merge a paragraph break. However, if the user must enter separate lines in a single paragraph (such as lines in an address), HotDocs should insert a line break. |
Select Enter key in multi-line answers inserts new paragraph mark ( ¶ ).
To control whether line or paragraph breaks are inserted in literal text strings used in computation scripts, see Use Line Breaks, Paragraph Ends, and Tabs in Computation Scripts. |
Control the number of characters allowed in the answer | Either type a value in the Maximum characters field, or click the up or down arrows to select a value (up to 15,000 characters). |
Control what type of information a user types and format it as they type | Select a pattern from the Pattern drop-down list. (HotDocs provides a telephone number pattern, time of day patterns, and a Social Security number pattern. You can also create your own. See Use Pattern Codes to Create a Custom Pattern.) |
Provide users with helpful information that can assist them in providing the correct answer | Click the Resource tab and provide a resource option. (See Add Resource Information to a Variable or Dialog.) |
Save changes to the variable without closing the variable editor | Click Save. |