Description Usage Arguments See Also
question.mixed
returns a question definition that displays responses
as a mix of radio-buttons and check-boxes, or as a combo-box.
Can be used for defining multiple-choice questions with responses
such as "none of the above" or "don't know".
1 2 |
id |
(character) the unique identifier of the question; it will be used
as the column name in the data.frame returning the questionnaire data
and when prefixed with |
label |
(character) the text displayed as the header of the question. |
responses |
(response list) the response list giving the identifiers and labels
of all responses (e.g. as returned by |
types |
(character) the types of responses; use |
required |
(logical) if |
use.select |
(logical) if |
inline |
(logical) if |
width |
(character) the width of the input, e.g. |
placeholder |
(character) the text that will be displayed
in the combo-box when there are no responses selected yet; defaults to
|
buildResponses
,
mixedOptionsInput
,
selectInput
.
Other question definitions: question.multiple
,
question.numeric
,
question.single
,
question.text
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.