Skip to main content
. 2017 Aug 1;8:26. doi: 10.1186/s13326-017-0133-1

Table 3.

Acceptable attributes on question elements

Name Accepted values Description
type text The type of desired HTML form input element, if any; when ‘none’ is selected, no
textarea input field is generated. The ‘checkbox-horizontal’ is a variant of the ‘checkbox’
radio where options are presented horizontally
checkbox
checkbox-horizontal
dropdown
none
numbered true/false Whether this element should be numbered
required true/false Whether an answer to this question is required
optionOrder semicolon-separated Specifies the order in which options are presented. The symbol “*” stands for
positive integers and “*” “the remaining, non-listed options”
showSubquestions For Answer Answer IRI Sub-questions are initially hidden. When the specified answer is selected the
sub-questions appear
hideSubquestions For Answer Answer IRI Sub-questions are initially visible. When the specified answer is selected the
sub-questions disappear