CONCEAL VAR
Placeholder | Replace With |
VAR | A variable used in an answer source |
This instruction , which you use in a dialog script , keeps variables from appearing in the Select From Answer Source dialog box of an answer source.
Answer sources are associated with specific dialogs in a template . When users view the dialog during the interview , they can click a special button, which displays a list of answers that were entered during previous interview sessions. They can either select an existing set of answers or add a new set to the list.
After creating an answer source for one dialog, you can use it with other dialogs, including dialogs in other templates. However, when using an answer source with multiple dialogs, each variable must be represented in both the answer source and in each dialog. If a variable that is referenced in the answer source isn’t included in the dialog (or vice-versa), answers in the answer source will get “mixed together” whenever you add, edit, or delete records.
In some situations though, it isn’t always practical or relevant to show the user every variable—either in the dialog or in the answer source. To accommodate this, you can use the HIDE , CONCEAL, and OMIT instructions to manipulate these variables in both the dialog and the answer source. Specifically, HIDE keeps a variable from appearing on the dialog, while CONCEAL keeps it from appearing in the answer source. OMIT keeps it from being associated with the answer source at all. Often, you must use a combination of these instructions to achieve your desired result.
For example, in one template, the user must enter both a Creditor Name and a Creditor Address. However, in a second template that uses the same dialog and answer source, Creditor Address isn't needed. You can keep it from appearing in the Select From Answer Source dialog box for this template by using the following script:
CONCEAL Creditor Address
Answers for Creditor Address are still saved in the answer source, even though they do not appear when the user opens the Select From Answer Source dialog box. (You would most likely include the instruction HIDE Creditor Address in this script as well, which would keep Creditor Address from appearing on the actual interview dialog. To keep the variable from appearing when the user edits a record in the answer source, see OMIT VAR.)
See Suggest an Answer Source for Dialogs for more information.