{"id":607,"date":"2017-05-09T09:57:25","date_gmt":"2017-05-09T09:57:25","guid":{"rendered":"http:\/\/www.haslingdensquash.org.uk\/juniors\/?page_id=607"},"modified":"2017-05-10T14:04:12","modified_gmt":"2017-05-10T14:04:12","slug":"junior-league-match-results","status":"publish","type":"page","link":"https:\/\/haslingdensquash.org.uk\/rsa\/?page_id=607","title":{"rendered":"Junior League &#8211; Match Results"},"content":{"rendered":"    \n\n\n<p><script language=javascript>\n<!--\n\nvar submitted = false;\n\nfunction record(){\n\n document.getElementById(\"btnRecord\").disabled = \"disabled\";\n\nif(submitted == true)\n{\n\tdocument.resultform.btnRecord.value = 'Record Result';\n\tdocument.getElementById(\"btnRecord\").disabled = \"\";\n\tdocument.resultform.p1games.value = '';\n\tdocument.resultform.p2games.value = '';\n\tsubmitted = false;\n\treturn true;\n}\n\nif (document.resultform.p1games.value == '3' && document.resultform.p2games.value == '3')\n{\n\talert('Sorry - 3-3 is not a valid result. Matches are best of 5');\n\tdocument.getElementById(\"btnRecord\").disabled = \"\";\n\tdocument.resultform.p1games.focus();\n\treturn false;\n}\n\nif (document.resultform.p1games.value == 'MC' && document.resultform.p2games.value == 'MC')\n{\n\talert('Please put MC against the player who is claiming the game and leave the other field blank.');\n\tdocument.getElementById(\"btnRecord\").disabled = \"\";\n\tdocument.resultform.p1games.focus();\n\treturn false;\n}\n\n\nif (document.resultform.player1id.value == document.resultform.player2id.value)\n{\n\talert('Please choose 2 different players');\n\tdocument.getElementById(\"btnRecord\").disabled = \"\";\n\treturn false;\n}\n\nif (\n(document.resultform.p1games.value == '' && document.resultform.p2games.value == '') ||\n(document.resultform.p1games.value != 'MC' && document.resultform.p2games.value == '') ||\n(document.resultform.p2games.value != 'MC' && document.resultform.p1games.value == '') ||\n(document.resultform.player1id.value == '' || document.resultform.player2id.value == '')\n)\n{\n\talert('Please enter all players and score');\n\tdocument.getElementById(\"btnRecord\").disabled = \"\";\n\tdocument.resultform.p1games.focus();\n\treturn false;\n}\nelse\n{\n\tvar d = new Date();\n\tdocument.resultform.submittime.value = Math.round(d.getTime() \/ 1000);\n\tdocument.resultform.submit();\n\n\tdocument.getElementById(\"btnRecord\").value = \"Thank You!\";\n\n\tdocument.getElementById(\"btnRecord\").disabled = \"disabled\";\n\t\/\/document.resultform.p1games.value = '';\n\t\/\/document.resultform.p2games.value = '';\n\n\tsubmitted = true;\n\n\tsetTimeout(record, 2000);\n\n\treturn true;\n}\n\n}\n\n\/\/-->\n<\/script><\/p>\n<form name=resultform action=..\/recordresult.php?playertype=JUNIOR target=_currentleague method=GET>\n <input type=hidden name=submittime value=\"\"><br \/>\n <input type=hidden name=playertype value=JUNIOR><\/p>\n<h3>Enter Match Result<\/h3>\n<table>\n<tbody>\n<tr>\n<td>Select FIRST player and their result:<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n    <select name=\"player1id\"><br \/>\n     <option value=''>- Select a player -<\/option><option value=21>Adam Latham<\/option><option value=14>Aiden Price<\/option><option value=19>Alex Bertbatiolis<\/option><option value=16>Bradley Barrick<\/option><option value=6>Cameron Howarth<\/option><option value=17>Danney Foster<\/option><option value=8>Finley McVicker<\/option><option value=18>Jooles McVicker<\/option><option value=15>Josh West<\/option><option value=10>Oliver Baynes<\/option><option value=12>William Harding<\/option><option value=20>William Clark<\/option><br \/>\n    <\/select><\/td>\n<td>\n    <select name=\"p1games\" onchange=\"if (p1games.options[document.resultform.p1games.selectedIndex].value == &quot;MC&quot;) { showMatchClaimedRules();}\"><br \/>\n      <option value=''>- No Result -<\/option><option value='0'>0<\/option><option value='1'>1<\/option><option value='2'>2<\/option><option value='3'>3<\/option><option value='MC'>Match Claimed<\/option><br \/>\n    <\/select>\n  <\/td>\n<\/tr>\n<tr>\n<\/tr>\n<tr>\n<td>Select SECOND player and their result:<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n    <select name=\"player2id\"><br \/>\n      <option value=''>- Select a player -<\/option><option value=21>Adam Latham<\/option><option value=14>Aiden Price<\/option><option value=19>Alex Bertbatiolis<\/option><option value=16>Bradley Barrick<\/option><option value=6>Cameron Howarth<\/option><option value=17>Danney Foster<\/option><option value=8>Finley McVicker<\/option><option value=18>Jooles McVicker<\/option><option value=15>Josh West<\/option><option value=10>Oliver Baynes<\/option><option value=12>William Harding<\/option><option value=20>William Clark<\/option><br \/>\n    <\/select>\n  <\/td>\n<td>\n    <select name=\"p2games\" onchange=\"if (p2games.options[document.resultform.p2games.selectedIndex].value == &quot;MC&quot;) { showMatchClaimedRules();}\"><br \/>\n      <option value=''>- No Result -<\/option><option value='0'>0<\/option><option value='1'>1<\/option><option value='2'>2<\/option><option value='3'>3<\/option><option value='MC'>Match Claimed<\/option><br \/>\n    <\/select>\n  <\/td>\n<\/tr>\n<tr>\n<\/tr>\n<tr>\n<td>Match Comment : <input title=\"Enter any comment here (keep it clean)\" maxlength=\"80\" name=\"matchcomment\" size=\"32\" type=\"text\" value=\"\" \/><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<td><button name=btnRecord id=btnRecord onClick='return record();'>Record Result<\/button><\/td>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">Note the following rules for claiming a match :<br \/>\nAll players should make every effort to arrange matches well in advance of the end of the month. It is expected that players mutually agree on a Match Claimed outcome. However, if the players cannot agree then the following rules apply<br \/>\n1) If any player has made at least two offers of court times to another player, and the opponent has made no attempt to offer alternatives and has at least 7 days in which to do so, the first player may inform the second player that they are claiming the match.<br \/>\n2) A player can claim a match where their opponent hasn&#8217;t shown up for a game and didn&#8217;t inform the player that they will be a &#8216;no show&#8217;.<br \/>\n3) If a player has to cancel an arranged match then they must inform their opponent at least 2 days beforehand, otherwise the opponent can claim the match if they wish.<br \/>\n4) If a player cancels an arranged match within the last week of the month then the opponent is entitled to claim the match.<br \/>\n5) Any disputes regarding Match Claiming should be referred to the committee whose decision is final<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/form>\n","protected":false},"excerpt":{"rendered":"<p>Enter Match Result Select FIRST player and their result: Select SECOND player and their result: Match Comment : Record Result Note the following rules for claiming a match : All players should make every effort to arrange matches well in&hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"parent":542,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/haslingdensquash.org.uk\/rsa\/index.php?rest_route=\/wp\/v2\/pages\/607"}],"collection":[{"href":"https:\/\/haslingdensquash.org.uk\/rsa\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/haslingdensquash.org.uk\/rsa\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/haslingdensquash.org.uk\/rsa\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/haslingdensquash.org.uk\/rsa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=607"}],"version-history":[{"href":"https:\/\/haslingdensquash.org.uk\/rsa\/index.php?rest_route=\/wp\/v2\/pages\/607\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/haslingdensquash.org.uk\/rsa\/index.php?rest_route=\/wp\/v2\/pages\/542"}],"wp:attachment":[{"href":"https:\/\/haslingdensquash.org.uk\/rsa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}