================STEP 1 - COPY CODE BELOW INTO HEADER======================== <SCRIPT = language="JavaScript"> function confSorter() { var confbox = window.document.mcaform.conf; var hotlbox = window.document.mcaform.hotl; var gestbox = window.document.mcaform.gest; if (gestbox.checked == false && hotlbox.checked == false && confbox.checked == false) { alert('Please select an option'); return false; } if (gestbox.checked == true && hotlbox.checked == true && confbox.checked == true) { document.mcaform.action='../jsp/wizard_all.jsp'; return true; } if (gestbox.checked == true && hotlbox.checked == true) { document.mcaform.action='wizard_hotelandguest.jsp'; return true; } if (gestbox.checked == true && confbox.checked == true) { document.mcaform.action='wizard_conferenceandguest.jsp'; return true; } if (hotlbox.checked == true && confbox.checked == true) { document.mcaform.action='wizard_conferenceandhotel.jsp'; return true; } if (hotlbox.checked == true) { document.mcaform.action='wizard_hotelonly.jsp'; return true; } if (confbox.checked == true) { document.mcaform.action='wizard_conferenceonly.jsp'; return true; } if (gestbox.checked == true) { document.mcaform.action='wizard_guestsorpouseonly.jsp'; return true; } } </SCRIPT> ================STEP 1 - COPY CODE ABOVE INTO HEADER========================
================STEP 1 - COPY CODE BELOW INTO HEADER======================== <SCRIPT = language="JavaScript"> function confSorter() { var confbox = window.document.mcaform.conf; var hotlbox = window.document.mcaform.hotl; var gestbox = window.document.mcaform.gest; if (gestbox.checked == false && hotlbox.checked == false && confbox.checked == false) { alert('Please select an option'); return false; } if (gestbox.checked == true && hotlbox.checked == true && confbox.checked == true) { document.mcaform.action='../jsp/wizard_all.jsp'; return true; } if (gestbox.checked == true && hotlbox.checked == true) { document.mcaform.action='wizard_hotelandguest.jsp'; return true; } if (gestbox.checked == true && confbox.checked == true) { document.mcaform.action='wizard_conferenceandguest.jsp'; return true; } if (hotlbox.checked == true && confbox.checked == true) { document.mcaform.action='wizard_conferenceandhotel.jsp'; return true; } if (hotlbox.checked == true) { document.mcaform.action='wizard_hotelonly.jsp'; return true; } if (confbox.checked == true) { document.mcaform.action='wizard_conferenceonly.jsp'; return true; } if (gestbox.checked == true) { document.mcaform.action='wizard_guestsorpouseonly.jsp'; return true; } } </SCRIPT>
================STEP 1 - COPY CODE ABOVE INTO HEADER========================
================STEP 2 - COPY CODE BELOW INTO BODY======================== <form name="mcaform" method="post" action="" onSubmit="confSorter();document.mcaform.submit()"> Please select all that apply for the conference:<P></P> <input type="checkbox" name="conf">Conference Registration<BR> <input type="checkbox" name="hotl">Hotel Reservations<BR> <input type="checkbox" name="gest">Guest/Spouse Reservations <P></P> <A href="#" onClick="confSorter();document.mcaform.submit()"><IMG src="images/submit_button.gif" width="40" height="16" border="0"></A> </form> ================STEP 2 - COPY CODE ABOVE INTO BODY========================
================STEP 2 - COPY CODE BELOW INTO BODY======================== <form name="mcaform" method="post" action="" onSubmit="confSorter();document.mcaform.submit()"> Please select all that apply for the conference:<P></P> <input type="checkbox" name="conf">Conference Registration<BR> <input type="checkbox" name="hotl">Hotel Reservations<BR> <input type="checkbox" name="gest">Guest/Spouse Reservations <P></P> <A href="#" onClick="confSorter();document.mcaform.submit()"><IMG src="images/submit_button.gif" width="40" height="16" border="0"></A> </form>
================STEP 2 - COPY CODE ABOVE INTO BODY========================