Using a Multiple Choice Variable to Select One or More Conditional Regions

You can use a multiple choice variable to tell HotDocs which conditional regions to include in a final document.

Use a multiple choice variable to select one or more conditional regions

Step 1: Create the multiple choice variable that is used to select which conditional regions the user wants to include

  1. Open Component Studio.
  2. Click New and from the drop-down menu select Multiple Choice variable.
  3. Type a Name for the computation and select a Configuration (whether the template user is able to Select one item or Select multiple items in the interview).
  4. Use the Options tab to add a new option for each piece of content you want to make conditional.

Step 2: Make conditional regions that are based on the same multiple choice variable

  1. Open the template.
  2. Highlight the first piece of content you want to make conditional.
  3. In the HotDocs Field Editor, under Action, click Create a conditional region.
  4. Under condition type, click Multiple Choice Variable and click the drop down arrow in the field to select the variable you want to base your conditional region on.
  5. In the Value field, Use the drop-down arrow to select the option that corresponds to this first piece of content.
  6. Click Add Field. HotDocs places an IF/END IF instruction pair around your content.
  7. Repeat this process for each piece of content you want to make conditional based on this multiple choice option.