I’m writing a quiz application and I need to validate the radio button
reponses. I do not have the questions in a database, I just have forms
which contain “question1” and then I strip out the “question” portion
and just insert the number as the question’s id. So now I’m faced with
the dilemma of making sure the radio buttons are pressed.
Radio buttons do not show up in params if a button is not pressed, so I
don’t even get the 0 or 1 of check boxes. Is there an additional field
I can add the radio_button tag so that it reports something like
“not_checked” for which I can raise an error?