Slider

The slider question type can be used to capture integer or decimal input within a specific range, displaying a slider to select a value within a range defined by the survey author.

Example

By default, a slider question provides a slider of values from 0 to 10 and accepts values of any whole number in that range, behaving identically to the distress appearance for integer questions. You can define a new range by setting parameters for the question.

Slider parameters

The three parameters that can be set for a slider question are Start, End, and Step. The Start parameter defines the number that appears on the leftmost side of the range slider, while the End parameter defines the number that appears on the rightmost side. The Step parameter defines the numbers between every point on the slider question. For example, the following parameters will create a slider question that accepts every third whole number in a range between 0 and 15:

Start=0 End=15 Step=3

You can set the Start value higher than the End value. In this case, the values will count down, rather than up. If any of these parameters aren't set, they will default to 0 for Start, 10 for End, or 1 for Step.

Style options

A slider question accepts two style parameters: Start color and End color. Start color defines the color that appears on the leftmost side of the range slider, while End color defines the color that appears on the rightmost side. Both of these values default to white if not set, and if these values are different, a gradient is applied between the two.

Uncheck the Show ticks option to display the question without the lines to show positions on the range slider, or the minimum and maximum values. This doesn't change the behavior of the question, only the display.