|
Best of Support |
|
|
"None of the Above" in Lists |
|
Issue
Is it possible to allow for "None of the Above" as part of a List, as you might do with a "select many" multiple choice var. in HotDocs?
Solution
GhostFill does not have a pre-set "None of the Above" format choice for its Dialog lists, but still allows you all the flexibility you need.
I'm not sure if you are needing this for a single-select or a multi-choice list. If for a single-select list, you could just add this item manually as one of your list's items and then typically display the list as type: "Option buttons".
If required for a multi-select list, again you would add this item manually but then you would probably need to include in the "OnChange" Event script of the list, a script that clears all other selections in the list if "None of the Above" is selected. The script to achieve this is actually just one line:
%[IfTrue(instr("None of the Above", thisdialog.MyList) > 0, thisdialog.mylist="None of the Above")]
Translation: After any run-time change in the dialog to the field called "MyList", if the result string of this field CONTAINS "None of the Above", set the result string of this field to be ONLY: "None of the Above".
Dan Todes