scale.once

description

Disables the scale after the first selection has happened.

syntax

getScale(ELEMENT_NAME).once()

notes

  • Adds a 5-point radio scale and waits for a click on one of its buttons, after which selection cannot be changed and a button appears below the scale.

example(s)


@newScale("hunger", 5)
@    .before( newText("left", "Right now, I am... very hungry ") )
@    .after( newText("right", " not hungry at all") )
$    .once()
@    .print()
@    .wait()
  • Adds a 5-point radio scale and waits for a click on one of its buttons, after which selection cannot be changed and a button appears below the scale.