Back to List
Placeholder | Replace With |
var | Any variable in the template |
Sometimes a variable needs to be asked by itself. You can use the ask var instruction so that during the interview, HotDocs displays the variable in its own default dialog.
In the following example, an if expression evaluates if more than a year has passed since the last time the client assembled this document. If so, the CurrentInsurance variable is asked:
if monthsFrom( DateOfPreviousFiling, today ) >= 13
ask CurrentInsurance
endIF
You can include the ask var instruction directly in the model or you can define it in a Computation variable. Be aware, however, that if you insert the instruction directly in the model, you can ask only one variable, and any answers the user provides will not be merged into the document at that place.
Back to List