kemper Posted December 3, 2007 Share Posted December 3, 2007 My javascript is not working. What am I doing wrong? <?php require_once "maincore.php"; require_once "subheader.php"; require_once "side_left.php"; if (isset($readmore) && !isNum($readmore)) fallback(FUSION_SELF); opentable ("Spring 2008 Registration"); <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function countChoices(obj) { max = 6; // max. number allowed at a time Sept8 = obj.form.Sept8.checked; Sept9 = obj.form.Sept9.checked; Sept15 = obj.form.Sept15.checked; Sept16 = obj.form.Sept16.checked; Sept22 = obj.form.Sept22.checked; Sept23 = obj.form.Sept23.checked; Sept29 = obj.form.Sept29.checked; Sept30 = obj.form.Sept30.checked; Oct6 = obj.form.Oct6.checked; Oct7 = obj.form.Oct7.checked; Oct13 = obj.form.Oct13.checked; Oct14 = obj.form.Oct14.checked; Oct20 = obj.form.Oct20.checked; Oct21 = obj.form.Oct21.checked; Oct27 = obj.form.Oct27.checked; Oct28 = obj.form.Oct28.checked; count = (Sept8 ? 1 : 0) + (Sept9 ? 1 : 0) + (Sept15 ? 1 : 0) + (Sept16 ? 1 : 0) + (Sept22 ? 1 : 0) + (Sept23 ? 1 : 0) + (Sept29 ? 1 : 0) + (Sept30 ? 1 : 0) + (Oct6 ? 1 : 0) + (Oct7 ? 1 : 0) + (Oct13 ? 1 : 0) + (Oct14 ? 1 : 0) + (Oct20 ? 1 : 0) + (Oct21 ? 1 : 0) + (Oct27 ? 1 : 0) + (Oct28 ? 1 : 0); if (count > max) { alert("Oops! You can only choose up to " + max + " conflicts! \nUncheck a date if you want to pick another."); obj.checked = false; } } // End --> </script> echo "<form enctype='multipart/form-data' action='processs08reg.php' method='POST'> <table border='1' cellspacing='1' style='border-width:0px; border-collapse: collapse; ' bordercolor='#000066' width='100%' cellpadding='5'> <tr> <td height='30' width='100%' bordercolor='#000000' colspan='2' style='border-left-color: #000066; border-left-width: 1px; border-right-color: #000066; border-right-width: 1px; border-top-color: #000066; border-top-width: 1px' bgcolor='#1B179F'> <blockquote> <blockquote> <blockquote> <P align='center' style='margin-top: 0; margin-bottom: 0'><b> <font color='#FFFFFF'>This form is past due and must be completed prior to 11:59 pm on Tuesday, January 15, 2008.</font></b></P> </blockquote> </blockquote> </blockquote> <P align='center' style='margin-top: 0; margin-bottom: 0'><b> <font color='#FFFFFF'>Thank you.</font></b></P> <p style='margin-top: 0; margin-bottom: 0'><font color='#FFFFFF'> </font></td> </tr> <tr> <td height='30' width='100%' bordercolor='#000000' colspan='2' style='border-left-color: #000066; border-left-width: 1px; border-right-color: #000066; border-right-width: 1px; border-top-color: #000066; border-top-width: 1px' bgcolor='#C0C0C0'> <b> All fields marked with <font color='#0000FF'>* </font> are required fields.</b></td> </tr><tr> <td height='30' width='348' bordercolor='#000000' style='border-left: 1px solid #000066; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium'> Club:</td> <td height='30' width='852' bordercolor='#000000' style='border-left-style: none; border-left-width: medium; border-right: 1px solid #000066; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium'> <font face='Verdana'><font face='Arial'><select name='Club'><option value='Select One'>Select One:<option value='Club A'>Club A<option value='Club B'>Club B<option value='Club C'>Club C<option value='Other - add $25 Non-District Fee'>Other Club: (Please specify below, add $25 Non-District Fee)</select></font></font><b><font color='#FF0000'> *</font></b></td></tr><tr> <td height='30' width='348' bordercolor='#000000' style='border-left: 1px solid #000066; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium'> <p align='right'> Other (Non-Metro District) Club:</td> <td height='30' width='852' bordercolor='#000000' style='border-left-style: none; border-left-width: medium; border-right: 1px solid #000066; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium'> <font face='Verdana'> <input type=text name='OtherClub' size=20></font> <font color='#ff0000'>< add $25 Non-District Fee</font></td></tr><tr> <td height='30' width='348' bordercolor='#000000' style='border-left: 1px solid #000066; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium'> Team Name:</td> <td height='30' width='852' bordercolor='#000000' style='border-left-style: none; border-left-width: medium; border-right: 1px solid #000066; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium'> <font face='Verdana'><font color='#FF0000' face='Arial'><input type=text name='Team' size=30></font></font><b><font color='#FF0000'> *</font></b></td></tr><tr> <td height='30' width='1008' bordercolor='#000000' style='border-left: 1px solid #000066; border-right: 1px solid #000066; border-top-style: solid; border-top-width: 1px; border-bottom-style: none; border-bottom-width: medium' colspan='2' bgcolor='#FF0000'> <font color='#FFFFFF'> <b>Conflicts (You may select up to Six Dates Only):</b></font></td> </tr><tr> <td height='30' width='1200' bordercolor='#000000' style='border-left: 1px solid #000066; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium' colspan='2'> <table border='0' cellpadding='0' style='border-collapse: collapse' width='100%' id='table3'> <tr> <td bgcolor='#FF6666' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' colspan='5'> <b> Sanctioned Tournaments (for reference only)</b></td> </tr> <tr> <td width='185' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'> Saturday,</p> <p style='margin-top: 0; margin-bottom: 0'> September 8</td> <td width='15' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <input type=checkbox name=Sept8 onClick='countChoices(this)' value='X'></td> <td valign='top' style='border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'><span class='style114'> <span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span></td> <td width='15' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <input type=checkbox name=Sept9 onClick='countChoices(this)' value='X'></td> <td width='185' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'> Sunday,</p> <p style='margin-top: 0; margin-bottom: 0'> September 9</td> </tr> <tr> <td width='185' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'> Saturday,</p> <p style='margin-top: 0; margin-bottom: 0'> September 15</td> <td width='15' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <input type=checkbox name=Sept15 onClick='countChoices(this)' value='X'></td> <td valign='top' style='border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'><span class='style114'> <span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span></td> <td width='15' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <input type=checkbox name=Sept16 onClick='countChoices(this)' value='X'></td> <td width='185' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'> Sunday,</p> <p style='margin-top: 0; margin-bottom: 0'> September 16</td> </tr> <tr> <td width='185' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'> Saturday,</p> <p style='margin-top: 0; margin-bottom: 0'> September 22</td> <td width='15' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <input type=checkbox name=Sept22 onClick='countChoices(this)' value='X'></td> <td valign='top' style='border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'><span class='style114'> <span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span></td> <td width='15' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <input type=checkbox name=Sept23 onClick='countChoices(this)' value='X'></td> <td width='185' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'> Sunday,</p> <p style='margin-top: 0; margin-bottom: 0'> September 23</td> </tr> <tr> <td width='185' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'> Saturday,</p> <p style='margin-top: 0; margin-bottom: 0'> September 29</td> <td width='15' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <input type=checkbox name=Sept29 onClick='countChoices(this)' value='X'></td> <td valign='top' style='border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'><span class='style114'> <span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span></td> <td width='15' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <input type=checkbox name=Sept30 onClick='countChoices(this)' value='X'></td> <td width='185' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'> Sunday,</p> <p style='margin-top: 0; margin-bottom: 0'> September 30</td> </tr> <tr> <td width='185' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'> Saturday,</p> <p style='margin-top: 0; margin-bottom: 0'> October 6</td> <td width='15' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <input type=checkbox name=Oct6 onClick='countChoices(this)' value='X'></td> <td valign='top' style='border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'><span class='style114'> <span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span></td> <td width='15' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <input type=checkbox name=Oct7 onClick='countChoices(this)' value='X'></td> <td width='185' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'> Sunday,</p> <p style='margin-top: 0; margin-bottom: 0'> October 7</td> </tr> <tr> <td width='185' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'> Saturday,</p> <p style='margin-top: 0; margin-bottom: 0'> October 13</td> <td width='15' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <input type=checkbox name=Oct13 onClick='countChoices(this)' value='X'></td> <td valign='top' style='border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'><span class='style114'> <span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span></td> <td width='15' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <input type=checkbox name=Oct14 onClick='countChoices(this)' value='X'></td> <td width='185' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'> Sunday,</p> <p style='margin-top: 0; margin-bottom: 0'> October 14</td> </tr> <tr> <td width='185' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'> Saturday,</p> <p style='margin-top: 0; margin-bottom: 0'> October 20</td> <td width='15' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <input type=checkbox name=Oct20 onClick='countChoices(this)' value='X'></td> <td valign='top' style='border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'><span class='style114'> <span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span></td> <td width='15' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <input type=checkbox name=Oct21 onClick='countChoices(this)' value='X'></td> <td width='185' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666'> <p style='margin-top: 0; margin-bottom: 0'> Sunday,</p> <p style='margin-top: 0; margin-bottom: 0'> October 21</td> </tr> <tr> <td width='185' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'> Saturday,</p> <p style='margin-top: 0; margin-bottom: 0'> October 27</td> <td width='15' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <input type=checkbox name=Oct27 onClick='countChoices(this)' value='X'></td> <td valign='top' style='border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'><span class='style114'> <span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span><p style='margin-top: 0; margin-bottom: 0'> <span class='style114'><span style='font-weight: 400'> <font color='#000000'> Tournament</font></span></span></td> <td width='15' valign='top' style='border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <input type=checkbox name=Oct28 onClick='countChoices(this)' value='X'></td> <td width='185' valign='top' style='border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' bgcolor='#CCCCCC'> <p style='margin-top: 0; margin-bottom: 0'> Sunday,</p> <p style='margin-top: 0; margin-bottom: 0'> October 28</td> </tr> <tr> <td align='center' valign='top' style='border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px' bordercolor='#FF6666' colspan='5' bgcolor='#FFFF00'> <p align='left'><span style='COLOR: black; '> * Please plan to play on all weekend dates not checked on the above list.</span></td> </tr> </table> </td> </tr> <tr> <td height='30' width='1200' bordercolor='#000000' style='border-left: 1px solid #000066; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: none; border-bottom-width: medium' colspan='2' bgcolor='#FF0000'> <b> <font color='#FFFFFF'>NOTE:</font></b></td> </tr><tr> <td height='30' width='1200' bordercolor='#000000' style='border-left: 1px solid #000066; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium' colspan='2'> <p align='left'> <span style='color:red'>The league will not allow any game changes after Tuesday, January 15, 2008 (per league rule stated below). Please plan to play on all weekend dates <u>not</u> included on your block-out list (above).</span></p> <p class='MsoNormal' style='margin-right:-12.0pt'> <u>League Rule #5</u> Game Changes </p> <p class='p1' style='margin:0in;margin-bottom:.0001pt'> All games are to be played at the scheduled place and time. ****** will not approve any game changes. This means that on the scheduled game date, a score for that game must be reported or each team will be charged with a forfeit of the game. <i> Inclement weather is the only approved reason for game rescheduling. * Participation in additional tournaments (tournaments not given on Registration Form or Conflict Form) is not acceptable for League Game(s) change. These league games will result in a forfeit and fines will be accessed, if team does not show.</i></p> </td> </tr><tr> <td height='30' width='1199' bordercolor='#000000' style='border-left:1px solid #000066; border-right-style:solid; border-right-width:1px; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium' colspan='2'> <font face='Arial'><input type=checkbox name='Rules' value='Yes'></font> <b> <font color='#FF0000'> *</font></b> I have read & understand the ****** policy regarding Game Changes.</td> </tr><tr> <td height='30' width='348' bordercolor='#000000' style='border-left:1px solid #000066; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium'> Person completing form:</td> <td height='30' width='852' bordercolor='#000000' style='border-right:1px solid #000066; border-left-style:none; border-left-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium'> <font face='Verdana'><font color='#FF0000' face='Arial'><input type=text name='Signed' size=30></font></font><b><font color='#FF0000'> *</font></b></td></tr><tr> <td height='30' width='348' bordercolor='#000000' style='border-left:1px solid #000066; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium'> Person's Duties with above mentions team:</td> <td height='30' width='852' bordercolor='#000000' style='border-right:1px solid #000066; border-left-style:none; border-left-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium'> <font face='Verdana'><font color='#FF0000' face='Arial'><input type=text name='Duties' size=20></font></font><b><font color='#FF0000'> *</font></b></td></tr><tr> <td height='30' width='348' bordercolor='#000000' style='border-left:1px solid #000066; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium'> Contact Phone (###-###-###):</td> <td height='30' width='852' bordercolor='#000000' style='border-right:1px solid #000066; border-left-style:none; border-left-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium'> <font face='Verdana'><font color='#FF0000' face='Arial'><input type=text name='ContactPhone' size=10></font></font><b><font color='#FF0000'> *</font></b></td></tr><tr> <td height='30' width='348' bordercolor='#000000' style='border-left:1px solid #000066; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium'> email:</td> <td height='30' width='852' bordercolor='#000000' style='border-right:1px solid #000066; border-left-style:none; border-left-width:medium; border-top-style:none; border-top-width:medium'> <font color='#FF0000' face='Arial'><input type=text name='email' size=30></font><b><font color='#FF0000'> *</font></b></td></tr><tr> <td colspan='2' height='25' width='100%' style='border-left:medium none #000066; border-right:medium none #000066; border-bottom:medium none #000066; border-top-style:solid; border-top-width:1px' bordercolor='#000000'> <p align='center' style='margin-bottom: 0'> <font color='#1B179F'>Credit Cards are <u>NOT</u> accepted. Once registration is received, an invoice will be sent to the person completing this form. Payment will be required within 14 days of the date of invoice.</font><p align='center'> <font face='Arial' size='2'><input type=submit value='Submit'></font> <font face='Arial' size='2'><input type=reset value='Reset'></font></td></tr> </table></form>\n"; closetable(); require_once "side_right.php"; require_once "footer.php"; ?> Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted December 3, 2007 Share Posted December 3, 2007 My javascript is not working. What am I doing wrong? Posting in a php help fourm! Quote Link to comment Share on other sites More sharing options...
scarlson Posted December 3, 2007 Share Posted December 3, 2007 Can you tell us what errors your are getting? Quote Link to comment Share on other sites More sharing options...
therealwesfoster Posted December 3, 2007 Share Posted December 3, 2007 You never closed your PHP tags... type ?> before starting your javascript Quote Link to comment Share on other sites More sharing options...
kemper Posted December 3, 2007 Author Share Posted December 3, 2007 No errors, just javascript not running. It is only supposed to allow 6 dates to be chosen. On 7th selection, "alert("Oops! You can only choose up to " + max + " conflicts! \nUncheck a date if you want to pick another.");" should be pop up. Quote Link to comment Share on other sites More sharing options...
therealwesfoster Posted December 3, 2007 Share Posted December 3, 2007 i bet if you posted in the right forum then someone could help you.. Quote Link to comment Share on other sites More sharing options...
kemper Posted December 3, 2007 Author Share Posted December 3, 2007 The problem was not the javascript, but your other post helped. Thanks! ... ?> <SCRIPT LANGUAGE="JavaScript"> Blah, Blah, Blah <?php ... Did the trick! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.