This is my code:
Code: Select all
<div class="option-group field">
<div class="smart-option-group smart-option-list group-vertical">
<label for="male" class="option">
<input type="radio" name="gender" id="male" value="Male" data-cgbf-label='gender'>
<span class="smart-option smart-radio">
<span class="smart-option-ui">
<i class="iconc"></i> Male
</span>
</span>
</label>
<label for="female" class="option">
<input type="radio" name="gender" id="female" value="Female">
<span class="smart-option smart-radio">
<span class="smart-option-ui">
<i class="iconc"></i> Female
</span>
</span>
</label>
</div>
</div>
I've tried using the data-cgbf-label on the first radio input but it doesn't seem to work.Could not find a label for field "gender" at about line 42.
Could not find a label for field "gender" at about line 51.
Does anybody know how to make these radio buttons scan correctly without errors?
Cheers
Simon66