validation
Hi,
I have 6 subject and each subject has 4 fields which the admin has fill.
Out of 6 subjects the admin has to enter data for 4 subjects
So here is the html design for it can someone tell me how my validation will be
todd
Code:
<table>
<thead>
<tr>
<th>Title</th>
<th>CourseNo</th>
<th>Course Hrs</th>
<th>Instructor</th>
<th>Room</th>
</tr>
</thead>
<tr>
<td>Maths</td>
<td><input type="text" name="courseone" id="courseone" value=""></td>
<td><input type="text" name="courseHrsone" id="courseHrsone" value=""></td>
<td><input type="text" name="Instructorone" id="Instructorone" value=""></td>
<td><input type="text" name="Roomone" id="Roomone" value=""></td>
</tr>
<tr>
<td>Science</td>
<td><input type="text" name="coursetwo" id="coursetwo" value=""></td>
<td><input type="text" name="courseHrstwo" id="courseHrstwo" value=""></td>
<td><input type="text" name="Instructortwo" id="Instructortwo" value=""></td>
<td><input type="text" name="Roomtwo" id="Roomtwo" value=""></td>
</tr>
<tr>
<td>Social Science</td>
<td><input type="text" name="coursethree" id="coursethree" value=""></td>
<td><input type="text" name="courseHrsthree" id="courseHrsthree" value=""></td>
<td><input type="text" name="Instructorthree" id="Instructorthree" value=""></td>
<td><input type="text" name="Roomthree" id="Roomthree" value=""></td>
</tr>
<tr>
<td>Arts</td>
<td><input type="text" name="coursefour" id="coursefour" value=""></td>
<td><input type="text" name="courseHrsfour" id="courseHrsfour" value=""></td>
<td><input type="text" name="Instructorfour" id="Instructorfour" value=""></td>
<td><input type="text" name="Roomfour" id="Roomfour" value=""></td>
</tr>
<tr>
<td>PT</td>
<td><input type="text" name="coursefive" id="coursefive" value=""></td>
<td><input type="text" name="courseHrsfive" id="courseHrsfive" value=""></td>
<td><input type="text" name="Instructorfive" id="Instructorfive" value=""></td>
<td><input type="text" name="Roomfive" id="Roomfive" value=""></td>
</tr>
<tr>
<td>Social Studies</td>
<td><input type="text" name="coursesix" id="coursesix" value=""></td>
<td><input type="text" name="courseHrssix" id="courseHrssix" value=""></td>
<td><input type="text" name="Instructorsix" id="Instructorsix" value=""></td>
<td><input type="text" name="Roomsix" id="Roomsix" value=""></td>
</tr>
</table>
todd2006, July 29th, 2008 10:58 AM
Bookmarks