Right, ignore the last post, THIS is how I got it to work.
<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+1, (ValidatedField("addnewproperty_246","type_" . $RepeatSelectionCounter_3)))) == 0)
{echo "checked";}
?>/>
<?php echo $row_WADAMenutype_key['type_name']; ?>