up Inquisit Language Reference

slider element

The slider element defines a survey item in which responses are made by sliding a thumb control along a continuous line.

Attributes

<slider name>
/ handleScale = factor
/ handleScale = expression

/ increment = increment
/ increment = expression

/ labels = (label, label, label, ...)
/ range = (min, max)
/ range = (minexpression, maxexpression)

/ showTicks = boolean
/ sliderSize = (width, height)
/ sliderSize = (widthexpression, heightexpression)

/ caption = text
/ correctResponse = (character, character,...)
/ correctResponse = (scancode, scancode, ...)
/ correctResponse = (anyResponse, noResponse, ...)
/ correctResponse = (stimulusname, stimulusname, ...)
/ correctResponse = (mouseevent, mouseevent, ...)
/ correctResponse = (gamepadstickevent, gamepadevent, ...)
/ correctResponse = (joystickevent, joystickevent, ...)
/ correctResponse = (word, word, ...)
/ correctResponse = (response)
/ correctResponse = (expression, expression, ...)

/ defaultResponse = text
/ defaultResponse = integer
/ defaultResponse = expression

/ fontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ monkeyResponse = (character, character,...)
/ monkeyResponse = (scancode, scancode, ...)
/ monkeyResponse = (anyResponse, noResponse, ...)
/ monkeyResponse = (stimulusname, stimulusname, ...)
/ monkeyResponse = (mouseevent, mouseevent, ...)
/ monkeyResponse = (gamepadevent, gamepadevent, ...)
/ monkeyResponse = (joystickevent, joystickevent, ...)
/ monkeyResponse = (word, word, ...)
/ monkeyResponse = (keyword)
/ monkeyResponse = (expression, expression, ...)

/ orientation = layout
/ position = (x, y)
/ position = (xexpression, yexpression)

/ required = boolean
/ required = expression

/ responseFontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ size = (width, height)
/ size = (widthexpression, heightexpression)

/ subcaption = string
/ subcaptionFontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ txColor = colorname
/ txColor = expression

/ validResponse = (character, character,...)
/ validResponse = (scancode, scancode, ...)
/ validResponse = (anyResponse, noResponse, ...)
/ validResponse = (stimulusname, stimulusname, ...)
/ validResponse = (mouseevent, mouseevent, ...)
/ validResponse = (gamepadevent, gamepadevent, ...)
/ validResponse = (joystickevent, joystickevent, ...)
/ validResponse = (word, word, ...)
/ validResponse = (keyword)
/ validResponse = (expression, expression, ...)

</slider>

Properties

slider.name.increment
slider.name.label
slider.name.maxValue
slider.name.minValue
slider.name.showTicks
slider.name.sliderHeight
slider.name.sliderWidth
slider.name.caption
slider.name.fontHeight
slider.name.height
slider.name.heightPct
slider.name.heightPx
slider.name.hPosition
slider.name.required
slider.name.response
slider.name.responseFontHeight
slider.name.responseText
slider.name.subcaption
slider.name.subcaptionFontHeight
slider.name.vPosition
slider.name.width
slider.name.widthPct
slider.name.widthPx
slider.name.x
slider.name.xPct
slider.name.xPx
slider.name.y
slider.name.yPct
slider.name.yPx
slider.name.name
slider.name.typeName

Functions

None.

Remarks

Examples

The following slider item asks the respondent to rate their feelings from cold to hot.

<slider q1>
/ caption="How do you feel about bananas?"
/ labels=("Cold", "Hot")
/ range = (0, 100)
/ increment = 1
</slider>

Copyright Millisecond Software, LLC. All rights reserved.