Welcome Guest, Not a member yet? Register   Sign In
Using Form Validation with unique dropdown menu selections
#1

[eluser]gscharlemann[/eluser]
I'm importing a csv file and using the first line of the file to compare and match to the column headings of a DB. There can be 10-20 headings csv file and I have the following form:

Code:
<form action="create_race.html" method="post">
<table cellpadding="0" cellspacing="0" border="1">  
  <tr>  
    <td>Place</td>  
    <td><select name="Place">
      <option value="PLACE">PLACE</option>
      <option value="BIB">BIB</option>
      <option value="AGE">AGE</option>
    </select></td>
  </tr>  
  <tr>  
    <td>Age</td>  
    <td><select name="Age">
      <option value="PLACE">PLACE</option>
      <option value="BIB">BIB</option>
      <option value="AGE">AGE</option>
    </select></td>
  </tr>  
  <tr>  
    <td>Bib</td>  
    <td><select name="BIB">
      <option value="PLACE">PLACE</option>
      <option value="BIB">BIB</option>
      <option value="AGE">AGE</option>
    </select></td>
  </tr>
  <tr>
    <td colspan="2">&lt;input type="submit" name="Submit" /&gt;&lt;/td>
  </tr>
</table>
&lt;/form&gt;

Is it possible to use the Form Validation class to ensure that the "PLACE" option is not selected by both the "PLACE" dropdown and the "AGE" dropdown?

Thanks in advance.


Messages In This Thread
Using Form Validation with unique dropdown menu selections - by El Forum - 09-08-2009, 06:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB