Description Usage Arguments See Also
question.text
returns a question definition that uses
an input line or text area for entry of text values.
1 2 3 |
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. |
required |
(logical) if |
use.textArea |
(logical) if |
width |
(character) the width of the input, e.g. |
height |
(character) the height of the input, e.g. |
rows |
(character) the height of the input in text rows.
If |
placeholder |
(character) the text that will be displayed in the edit line when no text is entered yet. |
regex |
(character) a regular expression that can be used to validate the entered value. |
regexHint |
(character) a human-readable description of the regular expression
to be displayed when the entered value doesn't match the |
Other question definitions: question.mixed
,
question.multiple
,
question.numeric
,
question.single
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.