I've cut it down to the basics to make it easier to read aha, the checkbox is fine not using that callback command but the button needs it, unfortunately it mentions nothing about radio buttons or text fields on the site
Does anyone know how to get any of those two working?
(setting some variables using .getValue() and formInfo)
(run the rest of the script)
win = window(title="title")
layout = columnLayout( rowSpacing = 10 )
win_createButton = button( label="button", command = Callback( buttonPressed, "cB" ) )
win_createCheckBox = checkBox( label = "check box", value=True )