I'm currently having a headache trying to figure this one out.
I have a set of radiobuttons where three radiobuttons belongs to a question. It's basically a survey where you are able to choose answer A, B or C per question. What I want to do is to make sure that the user has selected either A, B or C for every group of radiobuttons. This should prevent the form submitting when there's an unanswered question.
So basically the layout is as follows:
Question: What day is it today? [A] [B] [C]
A) Monday B) Sunday C) Wedensday [ ] [ ] [ ]
I have made sure that each of the radiobuttons has the same unique id (well, the name attribute in this case) as their parent td's ID attribute, to be able to "group" radiobuttons that way.
Has anyone done this before and are willing to share how you did it? :-) Would be greatly appreciated!
Thanks in advance,
Bo