theForm.Cover_Style.focus();
var radioSelected = false; for (i = 0; i < theForm.Cover_Style.length; i++) { if (theForm.Cover_Style[i].checked) radioSelected = true; } if (!radioSelected) { alert("Please select a \"Cover Style (Soft Cover or Hard Cover)\."); theForm.Cover_Style.focus(); return (false); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)