Enable LiveValidating a Row of a Multi-row Table when checkbox is checked/ticked; "Disabling" those rows when the checkbox isn't
I have a form and I wish to attach the livevalidation dynamically as PHP generates the table rows.

1)Each row looks like this, with a unique $count

    <tr>
			<td><input name='FirstName'  type='text' id='FirstName$count' value='$aname[0]'></td> 
			<td><input name='LastName'  type='text' id='LastName$count' value='$aname[1]'></td> 
			<td><input name='OrderID' readonly='readonly' type='text' id='OrderID$count' value='$data[6]'></td> 
			<td><input name='ProductName' readonly='readonly' type='text' id='ProductName$count' value='$data[1]'></td> 
			<td><input name='Num_Repeats' type='text' value='1' id='Num_Repeats$count' size='3'></td>
			<td><input name='EmailAddress' readonly='readonly' type='text' id='EmailAddress$count' value='$data[4]'></td> 
			<td><input name='ExpiryDate' type='date' id='ExpiryDate$count'  size='10' value=''></td></td>
			<td><input name='PetName' type='text' id='PetName$count' size='10'></td></td>
			<td><input name='OrderDate' type='date' readonly='readonly' id='OrderDate$count' value='$want_date' size='10'></td
</td>
			<td><font face='Arial, Helvetica, sans-serif'><input name='Checkbox' type='checkbox' id='ID$count' value='$count'></td> 
</tr>

2)If the checkbox is not ticked, the form should not be live-validated and all fields in the row should be marked as "read only". Once the checkbox is ticked, the row  should have the attributes above.

I don't think doing the livevalidation is an issue, there are plenty of guides to that. The issue is 
1)How to get live validation to work with multiple rows of a tabl
2)enabling/disabling the row dynamically on the checkbox status change
3)Working out where to put the above in the livevalidation code.

JVal would probably work, but how would you manipulate a basic Jval script to add in the complexities above? The actual livevalidation part is not really relevant to the question, but you can assume each field has at least one requirement.

(I know CSS classes would make it much more cleaner, that will come later, I've not written any CSS yet, if that would affect the jquery please let me know - is it easier to get the jquery look at each row of the table separately (i.e. each $count), check the class=ReminderRow and check if the Checkbox is ticked; then do the validation for all form elements with the same $count value as the check box ID - ID$count? ) or would you just look at each checkbox, see if it's ticked and then enable/disable the validatio
Enable LiveValidating a Row of a Multi-row Table when checkbox is checked/ticked; "Disabling" those rows when the checkbox isn't
===

I have a form and I wish to attach the livevalidation dynamically as PHP generates the table rows.

1)Each row looks like this, with a unique $count

    <tr>
			<td><input name='FirstName'  type='text' id='FirstName$count' value='$aname[0]'></td> 
			<td><input name='LastName'  type='text' id='LastName$count' value='$aname[1]'></td> 
			<td><input name='OrderID' readonly='readonly' type='text' id='OrderID$count' value='$data[6]'></td> 
			<td><input name='ProductName' readonly='readonly' type='text' id='ProductName$count' value='$data[1]'></td> 
			<td><input name='Num_Repeats' type='text' value='1' id='Num_Repeats$count' size='3'></td>
			<td><input name='EmailAddress' readonly='readonly' type='text' id='EmailAddress$count' value='$data[4]'></td> 
			<td><input name='ExpiryDate' type='date' id='ExpiryDate$count'  size='10' value=''></td></td>
			<td><input name='PetName' type='text' id='PetName$count' size='10'></td></td>
			<td><input name='OrderDate' type='date' readonly='readonly' id='OrderDate$count' value='$want_date' size='10'></td
</td>
			<td><font face='Arial, Helvetica, sans-serif'><input name='Checkbox' type='checkbox' id='ID$count' value='$count'></td> 
</tr>

2)If the checkbox is not ticked, the form should not be live-validated and all fields in the row should be marked as "read only". Once the checkbox is ticked, the row  should have the attributes above.

I don't think doing the livevalidation is an issue, there are plenty of guides to that. The issue is 
1)How to get live validation to work with multiple rows of a tabl
2)enabling/disabling the row dynamically on the checkbox status change
3)Working out where to put the above in the livevalidation code.

JVal would probably work, but how would you manipulate a basic Jval script to add in the complexities above? The actual livevalidation part is not really relevant to the question, but you can assume each field has at least one requirement.

(I know CSS classes would make it much more cleaner, that will come later, I've not written any CSS yet, if that would affect the jquery please let me know - is it easier to get the jquery look at each row of the table separately (i.e. each $count), check the class=ReminderRow and check if the Checkbox is ticked; then do the validation for all form elements with the same $count value as the check box ID - ID$count? ) or would you just look at each checkbox, see if it's ticked and then enable/disable the validatio