After much search finally found this on a forum:
"I have 4 checkboxes (named box1, box2 , box3 and box4) and I need to send
the user to one page if only boxes 1 and 2 are checked and to another page
if any other combinations are checked."
"if (theForm.box1.checked && theForm.box2.checked && !theForm.box3.checked &&
window.location.href = "Page1.htm"
window.location.href = "Page2.htm""
How do I call the script in form tag, onsubmit?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)