Validating radio button in javascript

I have a test file striped down that shows the problem attached.- The script currently includes sever Alert boxes to troubleshoot.All works well except the script can not see the value set by a set of radio buttons.Input of type Text or hidden are visible in the javascript function, but the input from set of radio buttons is "undefined".Works with text inputs, selects, checkboxes and radio buttons.As a PRO member, you can drag-and-drop upload files here to use as resources.

Validate your HTML form with Javascript validation.

So if the number of non-completions is greater than zero the form isn't submitted.

This may seem over engineered but it is designed so that multiple radio button groups can be validated.

The issue with this is that if you submit the form without checking either radio button, it correctly shows an error message, but only highlights the first radio button.

If you then check the second radio button, the error message goes away, but the first radio button is still highlighted (via the "error" CSS class).