Edit an IF Instruction or Expression
You can edit an IF instruction or expression.
To change the condition for an IF instruction or expression
- At the template, place the cursor in the IF instruction or expression.
- Click the IF Field button. The IF Field dialog box appears.
- Edit the condition as necessary. Optionally, you can:
- Create or select a different True/False variable or create a true/false expression. (See Include or Exclude a Single Version of Text Using a Simple IF Instruction or Expression or Include or Exclude Multiple Versions of Text Using IF and ELSE IF Instructions or Expressions.)
- Click the Edit Component button and type a prompt in the Prompt field to help the user make a selection. (See Create a Prompt for a Variable.)
- Click the Edit Component button and then click the Resource tab to add a resource to the instruction or expression. (See Add Resource Information to a Variable or Dialog.)
- Click the Edit Component button and then click the Advanced tab to specify several advanced options that control how the variable used in the instruction is processed. (See Control How HotDocs Processes a Variable, Control How Answers Appear in the Assembled Document, and Specify the Width of Answer Fields in the Interview.)
In past versions of HotDocs, using END by itself instead of the complete END IF instruction was sufficient. Beginning with 11.1, HotDocs no longer processes the shortened version, and now requires the complete instruction.