Many browsers include an indicator when displaying a survey question on page load that shows where the focus is on the first input field. This generally looks like a box or dashed line around the selection field. The focus
tag disables this functionality, if so desired.
focus: y (default) | focus: n |
---|---|
|
|
Syntax
# In setdefaults or pagebreak widget focus: n
Examples
Global Focus
The system default is to leave the focus on. Remove it globally for all questions in your survey by adding the tag to the set defaults
. Once turned off, the focus will not appear on the first input field when the page loads.
set defaults focus: n
Individual question focus
There may be times when you need to remove browser focus on individual questions. To do this use the focus
tag with the new page
tag.
1. Allows focus type: radio optsfrom: series[1..5] new page focus: n 2. Does not allow focus type: radio
optsfrom: series[1..5]
Comments
0 comments
Please sign in to leave a comment.