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.

Syntax

<slider slidername>
/ caption = "text"
/ correctresponse = ("character", "character",...) or (scancode, scancode, ...) or (stimulusname, stimulusname, ...) or (mouseevent, mouseevent, ...) or (joystickevent, joystickevent, ...) or ("word", "word", ...) or (keyword) or (property, property, ...)
/ defaultresponse = "text" or property or expression
/ fontstyle = ("face name", height, bold, italic, underline, strikeout, quality, character set)
/ handlescale = factor
/ increment = integer
/ labels = ("label", "label", "label", ...)
/ orientation = layout
/ position = (x value, y value)
/ range = (minimum, maximum)
/ responsefontstyle = ("face name", height, bold, italic, underline, strikeout, quality, character set)
/ showticks = boolean
/ size = (width variable, height variable)
/ slidersize = (width variable, height variable)
/ subcaption = "text"
/ subcaptionfontstyle = ("face name", height, bold, italic, underline, strikeout, quality, character set)
/ txcolor = (red value, green value, blue value) or color name or color value
/ validresponse = ("character", "character",...) or (scancode, scancode, ...) or (stimulusname, stimulusname, ...) or (mouseevent, mouseevent, ...) or (joystickevent, joystickevent, ...) or ("word", "word", ...) or (keyword) or (property, property, ...)
</slider>

Properties

slider.slidername.caption
slider.slidername.fontheight
slider.slidername.height
slider.slidername.heightpct
slider.slidername.heightpx
slider.slidername.hposition
slider.slidername.name
slider.slidername.response
slider.slidername.responsefontheight
slider.slidername.sliderheight
slider.slidername.sliderwidth
slider.slidername.subcaption
slider.slidername.subcaptionfontheight
slider.slidername.typename
slider.slidername.vposition
slider.slidername.width
slider.slidername.widthpct
slider.slidername.widthpx
slider.slidername.xpct
slider.slidername.xpx
slider.slidername.ypct
slider.slidername.ypx

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>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.