PennController for IBEX › Forums › Support › Spacing between radio-buttons › Reply To: Spacing between radio-buttons
December 5, 2022 at 3:56 pm
#9765

Keymaster
Hi Rok,
You cannot simply insert row.r1
and row.r2
directly in a string and have them replaced with the values of the corresponding javascript expressions. You need to do:
newScale("practice_response", "<span style='white-space: nowrap;'>"+row.r1+"</span>", "<span style='white-space: nowrap;'>"+row.r2+"</span>")
Jeremy