PennController for IBEX › Forums › Support › Spacing "scale" radio buttons apart › Reply To: Spacing "scale" radio buttons apart
December 9, 2022 at 3:25 pm
#9782
Participant
To provide more context, here is what I have right now, which I thought would work… but it is unfortunately giving me an error message of “Command ‘getScale’ unknown on Scale element ‘score’.”
newScale("score",
"<span style='margin: 5em;'>A</span>",
"<span style='margin: 5em;'>B</span>",
"<span style='margin: 5em;'>C</span>"
)
.css({"font-size": "20px", "font-weight": "normal"})
.radio()
.labelsPosition("top")
.print()
.getScale("score").test.selected(row.AdultlikeAns)
.success( newText("Good job! We will now begin the experiment").print() )
.failure( newText("Sorry, you gave the wrong answer. Please be more careful. We will now begin the experiment.").print() )
.log()
.log("Category", row.Catg)
.log("Image", row.Image)
.log("Sentence", row.Text)
.log("AdultlikeAns", row.AdultlikeAns)
)
-
This reply was modified 3 years ago by
KateK.