Hi,
Just in case anyone else has this issue, here is how I've got it to work:
<li>
<label for="property_type">Property Type</label>
<table>
<?php
// RepeatSelectionCounter_3 Begin Loop
$RepeatSelectionCounter_3_IterationsRemaining = $RepeatSelectionCounter_3_Iterations;
$counter = 0;
while($RepeatSelectionCounter_3_IterationsRemaining--){
if ($counter == 4){
echo "</tr><tr>";
$counter=0;
}
$counter = $counter + 1;
if($RepeatSelectionCounterBasedLooping_3 || $row_WADAMenutype_key){
?>
<td><p>
<input type="hidden" name="type_mihidden_<?php echo $RepeatSelectionCounter_3; ?>" id="type_mihidden_<?php echo $RepeatSelectionCounter_3; ?>" value="1" />
<input name="type_<?php echo $RepeatSelectionCounter_3; ?>" type="checkbox" id="type_<?php echo $RepeatSelectionCounter_3; ?>" value="<?php echo $row_WADAMenutype_key['type_key']; ?>" <?php if ((strcmp($RepeatSelectionCounter_3, (ValidatedField("addnewproperty_246","type_" . $RepeatSelectionCounter_3)))) == -1)
{echo "checked";}
?>/>
<?php echo $row_WADAMenutype_key['type_name']; ?></p></td>
<?php
} // RepeatSelectionCounter_3 Begin Alternate Content
else{
?>
<?php } // RepeatSelectionCounter_3 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_3 && $RepeatSelectionCounter_3_IterationsRemaining != 0){
if(!$row_WADAMenutype_key && $RepeatSelectionCounter_3_Iterations == -1){$RepeatSelectionCounter_3_IterationsRemaining = 0;}
$row_WADAMenutype_key = mysql_fetch_assoc($WADAMenutype_key);
}
$RepeatSelectionCounter_3++;
} // RepeatSelectionCounter_3 End Loop
?>
</tr>
</table>
</li>