Hi,
I'm using Java to dynamically make at least one check box in a group required based on a selection from another radio button control. It works, except I can't figure out how to check the "other choice" check box since I can't assign it a value.
Any help/suggestions would be appreciated.
Ken
Here's if statement I am using:
if ($('input[type=Checkbox][value=AM1]:checked').length >0 || $('input[type=Checkbox][value=AM2]:checked').length >0 || $('input[type=Checkbox][value=AM3]:checked').length >0 || $('input[type=Checkbox][value=AM4]:checked').length >0 || $('input[type=Checkbox][value=Other]:checked').length >0 ) { $('.amnotes input').removeAttr('required'); } else { $('.amnotes input').attr('required', 'True'); }