This script functions mostly how I would like it to: alert when a radio checkbox has not been selected. However, if all buttons are selected I need it the form to be submitt
var alertMsg = ""; //.... if(alertMsg) { alert("Please Choose a:" + alertMsg); } else { document.forms["form"].submit(); }
And please add ; to every statement.
;