πSingle choice
Configure a single choice (radios)
Introduction
Script a single choice question

Open the Javascript editor
Copy the Initial template to enable the Survey Library
Enable the configuration for Single Choice by importing its Survey Library URL
Examples
Randomize a subset of answer options
We have a question code called Q1 that has 7 answer options where codes are 1-5, 99 and 999.
Let's say that we want to randomize from 1 to 5, and anchor codes 99 and 999.

Randomize more than one subset of answer options
We have a question called Q1 that has 7 answer options where codes are 1-5, 99 and 999.
Let's say that we want to group answers and randomize elements inside the groups.

In this example, we are defining two groups with answer codes:
Group 1: 1,2,3,4
Group 2: 5,99
Anchors: 999
Randomize subsets of answers options
We have a question called Q1 that has 7 answer options where codes are 1-5, 99 and 999.
Let's say that we want to randomize three different groups and anchor options defined as follows:
Group 1: 1,2
Group 2: 3,4
Group 3: 5
Anchors: 99,999
Remember to change the property randomize_groups to true
Last updated
Was this helpful?