Radio button info on checkout page not retained after clicking modify on confirm page
I added a radio button choice for prefix. It is posted to the confirm page, but when I go back of hit modify, the value is not retained.
This is what I tried:
<label>
<input type="radio" name="prefix" value="<?php echo $row_rscontent8['description23']; ?>" id="prefix" <?php if(isset($_POST['prefix']) && ($_POST['prefix'] == '<?php echo $row_rscontent8[\'description23\']; ?>')) echo "checked";?> />
<?php echo $row_rscontent8['description23']; ?></label>
<label>
<input type="radio" name="prefix" value="<?php echo $row_rscontent8['description24']; ?>" id="prefix" <?php if(isset($_POST['prefix']) && ($_POST['prefix'] == '<?php echo $row_rscontent8[\'description24\']; ?>')) echo "checked";?> />
<?php echo $row_rscontent8['description24']; ?></label>
It is not working though.