A text response allows participants to answer a question or leave a comment by typing in a text box.
type
must be specified as "text"
.{
"type": "text"
}
0
{
"type": "text",
"delay": 1
}
true,false
false
{
"type": "rating",
"duration_timer": true
}
Relevant only if "duration_timer"
is true
.
"start"
, the timer will appear as soon as the response is displayed and animate a stopwatch effect. When set to "end"
, the duration timer will only appear once the participant has made a reponse with no stopwatch effect."start","end"
start
{
"type": "rating",
"duration_timer": true,
"duration_timer_onset": "start"
}
"50px"
)"200px"
width
{
"type": "text",
"height": "50px"
}
The height of the resulting text box will be 50 pixels.
instruction
to ""
(empty quotes).{
"type": "text",
"instruction": "Type the first number that comes to mind:"
}
In this example code, participants will see the instruction "Type the first number that comes to mind:" above the text box.
{
"type": "text",
"instruction": ""
}
In this example code, participants will see no instruction accompanying the text box.
{
"type": "text",
"max_char": 50
}
{
"type": "text",
"max_char": 50
}
min_seconds
duration. This feature simply prevents participants from submitting what they've written before the min_seconds
duration. This feature may have varying effectiveness in encouraging a longer response from participant to participant.{
"type": "text",
"min_seconds": 10
}
Given a response named "response1"
defined as follows:
{
"type": "text",
"width": "100px",
"height": "50px"
}
You can define a child response "response2"
that inherits all of its parent's properties:
{
"type": "text",
"parent": "response1"
}
true
, false
false
{
"type": "text",
"required": "true"
}
false
, the text response will not alert participants about potential misspelled words, which is useful if participants are supposed to type non-dictionary words.true
, false
true
{
"type": "text",
"spellcheck": false
}
target_match
{
"type": "text",
"target": "LEFT"
}
In this example code, if a participant enters the word "LEFT" in the text box, FindingFive will recognize their response as correct.
Relevant only if target
is set.
true
, participants must type in an answer that matches the target as defined above in order to continue the study (a good use case of this feature is to implement a passcode).true
, false
false
target
{
"type": "text",
"target": "LEFT",
"target_match": true
}
In this example code, participants will not be able to move on unless they ender the word "LEFT" in the text box.
min_seconds
{
"type": "text",
"timeout": 15
}
"100px"
)height
{
"type": "text",
"width": "100px"
}