fix for radio button value setting

Attempted to combine input loops (input, checkbox, radio) but there were inherit issues in setting radio input values.