The new PCIbex Farm is here! Be sure to check out all of its new features and changes.

Link Search Menu Expand Document

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.