is selected. However, is there some code I can put in this script that
will also prevent anything else in the cold fusion page from processing
until the "more than one" checkbox problem is corrected? Here's the
script:
<SCRIPT LANGUAGE="_javascript_">
<!-- Begin
function anyCheck(form) {
var total = 0;
var max = form.type_no.length;
for (var idx = 0; idx < max; idx++) {
if (eval("document.registration.type_no[" + idx + "].checked") == true)
{
total += 1;
if (total >1) alert("You cannot select more than 1 registration type");
}
}
}
// End -->
</script>
TIA
Tim
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]