HotDocs Author WorkflowCreate a template Add placeholders Group variables in dialogs Upload a template Create a script

SHOW ALL Instruction

The SHOW ALL instruction displays in the interview, all components you previously hid on the dialog.

The SHOW ALL instruction is only available when you are creating a dialog script in the Script tab of the dialog editor.

After you use the HIDE or HIDE ALL Instruction, you may need to have all hidden variables on the dialog re-appear. For example, when a specific condition is met. Once the variables re-appear, the template user can answer them and move between them like any other variable. You may use the SHOW ALL instruction instead of a SHOW instruction to save time when you need all of the hidden variables to re-appear but don't want to SHOW them one by one.

Instruction name Model After you drag and drop the model into the script tab:
SHOW ALL SHOW ALL You don't need to do anything further with this model.

Example

A bank needs a template for their loan application agents. In one dialog they have seven questions that ask for details about previous loans the template user has had with the bank. However, those questions are only relevant if the template user has taken out a loan with this bank before. In order to prevent the template user from needing to review potentially irrelevant questions, the template author creates and places a new True/False variable on the dialog:

PreviousLoans– A True/False variable which asks "Do you have any previous loans with us?" and the end-user must select Yes or No.

The template author then adds the following script to the script tab of the dialog editor:

HIDE ALL

SHOW  PreviousLoans  

IF  PreviousLoans  

SHOW  ALL

END  IF

When the dialog opens HotDocs hides all of the variables and then shows the PreviousLoans True/False variable that determines if they have other loans with the bank. If they select Yes, then the condition on the IF instruction is met and the rest of the variables appear, enabling the template user to answer those questions. If they select No, then the additional seven questions remain hidden. The END IF instruction here closes the conditional region of the script.