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

QUIT Instruction

The QUIT instruction stops HotDocs from processing any remaining script in the component.

If you are working on a script and leave it in an unfinished state, HotDocs displays an error message and will not run a test interview. You can use the QUIT instruction to stop HotDocs from processing the script after the instruction, which enables you to still test and use the preceding script without seeing an error.

Alternatively, you can use the Comment Block button on the script tab to hide unfinished work or notes.

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


For example, perhaps you aren't sure about the specific variable names that need to be included because the variables have not yet been created. Normally, HotDocs won’t allow an unfinished script to be saved. The QUIT instruction, though, makes this possible:


IF Client History = "____"

SET ____ TO "Returning"


SET ____ TO "New"