Variable editor attributes: selection list items
This attribute is only pertinent for
text selection
variables.
There are a group of sub-attributes that collectively determine which selection options appear on the questionnaire:
Dynamic:
options are specified statically or dynamically
Search Mode:
searchable lists can use "begins with" or "contains" to match the text entered by the user
Unknown:
the questionnaire user can explicitly state that the selection is unknown
Other:
the questionnaire user can specify options that are not in the list
All:
the questionnaire user can select all options with a single click
Attribute: Selection List Items
The Selection List Items section determines how individual options in a text selection are specified. There are two options and the Dynamic checkbox controls which of the options is selected as follows:
Dynamic is unchecked:
The text selection will be a static list of options
Dynamic is checked:
The text selection will be built dynamically from an expression such as a lookup expression
Static options are entered into the edit box on separate lines:
Default values are chosen by selecting an option and then clicking the
Toggle Default
button which will embolden the option and pre-select that answer on the questionnaire.
For single select presentation styles only a single option can be a default, whereas for multi select presentation styles many options can be default values.
Dynamic options are expressions which result in a list being created. They can be either:
entered manually in the edit box, or
clicking the corresponding
Edit...
button to the right of the edit box to invoke the expression editor
.
For example, in the sample Non Disclosure Agreement, the OtherPartyCountry variable is a text selection whose text selection options are defined as a dynamic list. The expression is
Select Country
which instructs Contract Express to look for a lookup table containing a column called Country and present the options in the questionnaire from that lookup.
Text Selection variables can have a Presentation Type of Searchable List. This results in the questionnaire presenting the user with a text box, but as the user types into the text box a dropdown pane will appear displaying text selections which match the text entered so far. The Search Mode attribute is displayed for Text Selections of this Presentation Type and defined how Contract Express will perform the search. The options are:
Begins With
: Only items that start with the entered text will be displayed
Contains
: Any item that contains the entered text will be displayed
When this sub-attribute is checked an additional option appears on the questionnaire which allows the user to explicitly state that the selection is unknown. This is useful if you do not want the text selection to be pre-filled with a default value. You can change the label for the unknown option from the default "select ..."
When this attribute is checked an additional option appears on the questionnaire which allows the user to enter an option or options that are not in the list of options.
This additional option is labeled
Other
(for english_uk and english_usa locales) which can be changed by entering the new label in the corresponding edit box to the right.
For example, consider a multi select checkboxes list of options representing communal areas in a leased property:
which is displayed on the questionnaire as:
Consider the effect of the user choosing the "Other" option on your generated document. If you are only using the variable in a field, their answer will automatically be used for the value of the field. If you are using the variable as part of a Business Rule you may need to add extra provision in for when they choose Other. Business Rules based on this scenario use the
Other(VariableName) function.
This sub-attribute is only pertinent for multi select presentation styles.
When this sub-attribute is checked an additional checkbox appears on the questionnaire which allows the user to choose all options with a single click
This additional checkbox is labeled
All
(for english_uk and english_usa locales) which can be changed by entering the new label in the corresponding edit box to the right.
For example, consider a multi select checkboxes list of options representing communal areas in a leased property:
which is displayed on the questionnaire as:
By changing the height attribute of a single dropdown variable, you can create a scrollable single-choice list box, where the user can see more than one option at a time but only choose one.