Is there a way I can validate my radio input based on values for female and male? This is what my code looks like:
<span>Gender:</span>
<input type="radio" name="gender" id="male" />Male
<input type="radio" name="gender" id="female" />Female
<div id="e4" class="error2">Please choose your gender</div>