PennController for IBEX › Forums › Support › TextInput not allowing 1-5 digits after Acceptability Judgement scale › Reply To: TextInput not allowing 1-5 digits after Acceptability Judgement scale
April 12, 2023 at 7:32 am
#10443
Keymaster
Hi,
This is indeed a bug. One solution is to code the logic of the AcceptabilityJudgment controller using PennController commands instead:
newText("sentence").center().print()
,
newScale("AcceptabilityJudgment", 5)
.before(newText("pas naturelle")).after(newText("très naturelle"))
.button().center().log().print().keys().wait().remove()
,
newTimer(100).start().wait()
To make the visual rendering closer to the original controller, you can add these rules to global_main.css in your project’s Aesthetics folder:
.PennController-AcceptabilityJudgment .option {
width: 1em;
height: 1em;
text-align: center;
color: blue;
margin: 0.33em;
padding: 0.33em;
border: solid 1px black;
}
.PennController-AcceptabilityJudgment .option label {
width: 100%;
}
.PennController-AcceptabilityJudgment-container .PennController-before, .PennController-AcceptabilityJudgment-container .PennController-after {
line-height: 2.5em;
}
Jeremy