Radio button check for group on works they are all empty?

I’m not sure what I’m doing wrong here. I have this quiz with multiple question. The idea is to check that for every group at least one radio button is checked.

The problem is that this only seems to work when none of the radio buttons are checked at all. Then it shows the alert box with 1,2,3 is empty. But when you then select one answer for one of the question, and resubmit it, no alert box shows up at all. Even though 2 groups are still without an answer? Any idea why this is?

You see the example here -> http://tijmensmit.com/dev/input.html

It’s your @ symbols that are causing things to go wrong. They were deprecated in jQuery 1.2 and removed in 1.3
http://api.jquery.com/category/selectors/attribute-selectors/

Get rid of those @ symbols, and things will work.

That fixed it, thanks :slight_smile: