getScale(id).settings.once()
Disables the scale after the first selection has happened.
[js highlight=”4″ try=”true”]newScale(“hunger”, 5)
.settings.before( newText(“left”, “Right now, I am… very hungry “) )
.settings.after( newText(“right”, ” not hungry at all”) )
.settings.once()
.print()
.wait()
[/js]
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.