scale.radio

description

Makes the buttons of the scales appear as radio buttons.

syntax

getScale(ELEMENT_NAME).radio()

example(s)


@newScale("score",   "Terrible", "Bad", "Good", "Terrific")
@    .before( newText("left", "The last movie I saw was ") )
$    .radio()
@    .labelsPosition("top")
@    .print()
@    .wait()
  • Adds a scale with 4 horizontally aligned radio buttons to the screen, with their respective labels appear on top of them, and waits for a click on a button.