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

HIDE Instruction

The HIDE instruction makes the component you specify invisible to the template user during an interview.

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

In a dialog, you may have questions that are only applicable when the template user provides a certain answer to a preceding question or for a certain configuration of the template. For example, the first question on a dialog might ask if the template user has children. If they answer yes, then questions about the children's names and ages are applicable, but if they answer no, then those questions are not applicable and HotDocs can hide them.

Instruction name Model After you drag and drop the model into the script tab:
HIDE HIDE ⟦VAR⟧ Replace ⟦VAR⟧ with the variable that you want to remove from the dialog.


A bank needs a new template for their in-branch staff to use when a customer wants to open a new account. The customer needs to present some form of identification during the interview; then the template user needs to enter what type of identification the customer provides, and make a copy of it for their records.

In the dialog, when the interview asks the template user for the type of identification the customer provided, the template author wants to create a reminder that informs the template user that they will need a photocopy. The dialog has two components:

  • IDType – A Multiple Choice variable that enables the template user to select the type of ID presented
  • CopyReminder – A Text Dialog Element that displays the following text on the dialog: "You MUST now make a photocopy of this identification."

In the Script tab of the dialog editor, the template author creates the following script:

HIDE  CopyReminder


SHOW  CopyReminder


When the dialog first opens, HotDocs hides the reminder. When the template user answers IDType, the IF instruction's condition is met and HotDocs uses the SHOW instruction to have the CopyReminder dialog element appear. The END IF instruction closes the conditional region of script.