The UNANSWERED constant has a value of "UNANSWERED," that you can SET a variable TO, effectively clearing any answer that variable already has.
Be careful where in your template you SET a variables TO UNANSWERED, because you risk cleaning an answer you want to keep.
Constant name | UNANSWERED |
Usage model | UNANSWERED |
Result |
Unanswered |
You should use the ANSWERED function to check whether a template user answered a variable; you should avoid using the = operator with UNANSWERED.
Here is an example of how you could clear an answer provided for a variable:
SET variable TO UNANSWERED
After you download the example template, you can import the template to any workspace to see this example code in action.