retaining radio selection on failed validation
Hi Ray
Have tried numerous variations of the below
<label class="radio radioButtons" id="Has_there_been_any_previous_visual_care_no">
<input type="radio" name="Has_there_been_any_previous_visual_care" id="Has_there_been_any_previous_visual_care_no" value="No" <?php echo((ValidatedField("questionnaire2_147","Has_there_been_any_previous_visual_care_no") == "No" || ValidatedField("questionnaire2_147","Has_there_been_any_previous_visual_care_no") == "")?"checked":"") ?>>
<span>No</span></label>
<label class="radio radioButtons" id="Has_there_been_any_previous_visual_care_yes">
<input type="radio" name="Has_there_been_any_previous_visual_care" value="Yes" <?php echo((ValidatedField("questionnaire2_147","Has_there_been_any_previous_visual_care_yes") == "Yes"?"checked":"")) ?>>
<span>Yes</span></label>
none of them are retaining the seleted option if validations fails....
Many thanks
Jamie