During the submission of my form, I need to validate my radio buttons to see if they were selected.
My page layout asks for the education level in multiple fields like so:
My code for the options look like so:
<input type="radio" name="proficiency[journalism]" value="4yr">
<input type="radio" name="proficiency[journalism]" value="working">
<input type="radio" name="proficiency[journalism]" value="some">
<input type="radio" name="proficiency[journalism]" value="none">
I need to be able to loop through name="proficiency[journalism]" and say if none of them were selected, throw an error.
I just need to make sure at least one has been selected.
How can I accomplish this?