I've tried to simplify it for you. You could use this to replace any radio groups. You would just need to replace the form element name each time it occurs "fam_race" with the form element name it is replacing. Then update the tabindex and enter the enum options above.
<?php
$EnumOptions = array();
$EnumOptions[] = "option1";
$EnumOptions[] = "option2";
for ($x=0; $x<sizeof($EnumOptions); $x++) {
?>
<label class="radioSublabel_Narrow" for="fam_race__<?php echo($x); ?>">
<?php echo($EnumOptions[$x]); ?> <input type="radio" name="fam_race" id="fam_race__<?php echo($x); ?>" value="<?php echo($EnumOptions[$x]); ?>" class="formRadioField_Standard" <?php if (!(strcmp((isset($_GET["invalid"])?ValidatedField("familyupdate","fam_race"):"".$WADAfamily_update->getColumnVal("fam_race") .""),<?php echo($EnumOptions[$x]); ?>))) {echo "checked=\"checked\"";} ?> tabindex="17" title="Please enter a value."></label>
<?php
}
?>