[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.6

validate pairings

Asked by RickyGtz in JavaScript, Active Server Pages (ASP), Web Languages/Standards

I need help building a script in java that when click submit, check for :

Two Teams selected on each match,
Not the same
Not the same Player in a pairing   (player 1 versus player 1)
Alll fields checked.

Any Help on this is appreciated
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
<input name="Save" type="submit" id="Save" onClick="YY_checkform('form1','checkmatch<%=p%>','#q','1','Field \'checkmatch<%=p%>\' is not valid.','StartHole','#q','1','Field \'StartHole\' is not valid.');return document.MM_returnValue" value="Save Changes">
 
 
 
 
 
<tr>
                      <td width="53" class="lcontainer" style="width: 51px"><span class="text2" style="width: 2%">
                        <label></label>
                        <label>
                        <input name="playerNumber<%=p%>" type="text" id="playerNumber<%=p%>" value="<%=PlayerNumber%>" style="width: 30px">
                        </label>
                     </span></td>
                  <td class="lcontainer" style="width: 66px"><a href="memview.asp?ID=<%=ID%>" class="hlink3"><%=firstname%>,<%=lastname%> </a></td>
                     
                     
                         
                                               <td width="53" class="lcontainer" style="width: 51px"><span class="text2"><%=txthandicap%></span></td>
                                         
                     <td width="53" class="lcontainer" style="width: 51px">
                 
           
 
    
    <select name="GroupSelect<%=p%>" >
        <%
                              ' Populate the Drop Down List Tee Off Time       
                                          
                  While (NOT Recordset1.EOF)
                    for i=1 to CInt(rsTour2("TeeTimes").Value)
                         'x2 = x + (rsTour2("TeeIntervals").Value * i)
                                     x2 = DateAdd("n", rsTour2("TeeIntervals").Value * i, x)
                         x2 =  Recordset2.Fields.Item("StartingHour").Value& ":" & Right("0" & Minute(x2), 2)
                        x3 = "Group #" &i    %>
                                                     
                                                     
                                                     
   <option value="<%=x3%>&nbsp;:&nbsp;<%=x2%>"><%=x3%>&nbsp;:&nbsp;<%=x2%></option>
                        <%
                  Next 
				  if not recordset1.eof then
                  Recordset1.MoveNext()
				  end if
                  Wend
                  If (Recordset1.CursorType > 0) Then
                        Recordset1.MoveFirst
                  Else
                        Recordset1.Requery
                  End If
%>
                      </select>                                           </td>
                                           
                     <td style="width: 53px">                      
                                   
                      
                     <select name="MatchSelect<%=p%>" id="MatchSelect">
                        <%
                  While (NOT Recordset1.EOF)
                           for i=1 to CInt(rsTour2("NumberOfMatches").Value)
                                    x4 = "Match #" &i
                  %>
                        <option value="<%=x4%>"><%=x4%></option>
                        <%
                  Next 
				  if not recordset1.eof then
                  Recordset1.MoveNext()
				  end if
                  Wend
                  If (Recordset1.CursorType > 0) Then
                        Recordset1.MoveFirst
                  Else
                        Recordset1.Requery
                  End If
%>
                      </select>                   </td>
    
                      <td style="width: 108px">
                      
                          
                            
                      <select name="StartHole<%=p%>" id="StartHole<%=p%>">
                        <option value="NA">Select Hole</option>
                        <option value="1">Hole #1</option>
                        <option value="2">Hole #2</option>
                        <option value="3">Hole #3</option>
                        <option value="4">Hole #4</option>
                        <option value="5">Hole #5</option>
                        <option value="6">Hole #6</option>
                        <option value="7">Hole #7</option>
                        <option value="8">Hole #8</option>
                        <option value="9">Hole #9</option>
                        <option value="10">Hole #10</option>
                        <option value="11">Hole #11</option>
                        <option value="12">Hole #12</option>
                        <option value="13">Hole #13</option>
                        <option value="14">Hole #14</option>
                        <option value="15">Hole #15</option>
                        <option value="16">Hole #16</option>
                        <option value="17">Hole #17</option>
                        <option value="18">Hole #18</option>
                      </select></td>
                
                      <td style="width: 19px"><label>
                        &nbsp;
                            
                                              
                        <input type="checkbox" name="checkmatch<%=p%>" id="checkmatch<%=p%>">
                     </label></td>
                    
</tr>
[+][-]02/27/09 12:05 PM, ID: 23759182Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: JavaScript, Active Server Pages (ASP), Web Languages/Standards
Sign Up Now!
Solution Provided By: HonorGod
Participating Experts: 4
Solution Grade: A
 
[+][-]01/08/09 07:55 AM, ID: 23326218Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/08/09 07:56 AM, ID: 23326231Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01/08/09 01:23 PM, ID: 23330407Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/08/09 01:30 PM, ID: 23330462Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/08/09 03:34 PM, ID: 23331384Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/08/09 06:31 PM, ID: 23332377Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/08/09 06:32 PM, ID: 23332385Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/08/09 08:24 PM, ID: 23332826Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/09/09 04:28 AM, ID: 23334820Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/09/09 05:12 AM, ID: 23335104Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/09/09 09:15 AM, ID: 23337747Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/10/09 04:10 PM, ID: 23346032Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/10/09 05:07 PM, ID: 23346226Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/16/09 05:24 PM, ID: 23399092Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/12/09 10:32 AM, ID: 23625069Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/12/09 10:41 AM, ID: 23625163Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/12/09 10:58 AM, ID: 23625354Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/12/09 05:47 PM, ID: 23628945Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/12/09 06:07 PM, ID: 23629056Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/12/09 08:07 PM, ID: 23629794Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/13/09 04:01 AM, ID: 23631780Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/13/09 07:37 AM, ID: 23633668Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/13/09 08:12 AM, ID: 23634075Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/13/09 08:20 AM, ID: 23634168Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/19/09 07:54 AM, ID: 23682678Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/19/09 08:22 AM, ID: 23683048Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/19/09 08:28 AM, ID: 23683133Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/26/09 11:09 AM, ID: 23748300Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/26/09 11:13 AM, ID: 23748361Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/13/09 02:32 AM, ID: 23877280Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/15/09 08:28 AM, ID: 23891735Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625