/
OPTION_SELECT (selection = ALL)
OPTION_SELECT (selection = ALL)
When an OPTIONS ITEM (V_CHECK, H_CHECK.) in a FORM TEMPLATE has the FORMULA "OPTION_SELECT()" in FORMULA or DEFAULT VALUE the options will be all selected.
If empty, OPTION_SELECT will mark all the Check options available.
NOTE: This FORMULA is not valid for RADIO or COMBO items. Check options allow "ALL".
DESCRIPTION
This formula select all the options by default | |
Calculated: | On first form open. |
Formula: | =OPTION_SELECT() |
Parameters: | SELECTION by default is ALL, which will select every options if the ANSWER is of type CHECK. Also it could be a LAST, LAST N, FIRST, FIRST N.
Otherwise it could be an option id (don't confuse with value id or order it), in that case only that option will be selected |
Calculation | Will check every options present if it's a V_CHECK or H_CHECK. |
, multiple selections available,
Related content
RANDOM_OPTION ()
RANDOM_OPTION ()
More like this
GET_LIST (SCOPE, PROPERTY{, PARAMETER, OPTIONS})
GET_LIST (SCOPE, PROPERTY{, PARAMETER, OPTIONS})
More like this
form_set_all_answers ( session, form, xml_answers{, close_form})
form_set_all_answers ( session, form, xml_answers{, close_form})
More like this
VALUE_CONTAINS ()
VALUE_CONTAINS ()
More like this
CODE_LIST()
CODE_LIST()
More like this
† form_get_answer ( session, form , question )
† form_get_answer ( session, form , question )
More like this