PennController for IBEX › Forums › Support › Checkbox/unselecting an option › Reply To: Checkbox/unselecting an option
June 16, 2020 at 10:48 am
#5652

Keymaster
Hi Daniela,
There is no built-in support in PennController for this sort of thing, I should probably work on adding it somewhere
One solution would be to run a function after you’ve printed your Scale elements that will take care of toggling selection, like this
newFunction( () => { $(".PennController-Scale input[type='radio']").click(function(){ $(this).attr("toggle", $(this).attr("toggle") != "true" ); if ($(this).attr("toggle")=="false") $(this).removeAttr("checked"); }) }).call()
Jeremy