I have a simple radio group. The relevant chunk is:
<ul class="radio">
<li><input type="radio" name="reason" value="1" title="Enquiry about further information" class="radio" id="radio1" checked="checked" /><label for="radio1">Enquiry</label></li>
<li><input type="radio" name="reason" value="2" title="Comment on the web site" class="radio" id="radio2" /><label for="radio2">Comment on the web site</label></li>
<li><input type="radio" name="reason" value="3" title="Report a technical problem or error" class="radio" id="radio3" /><label for="radio3">Report a technical problem or error</label></li>
</ul>
I want the first option to be checked by default, and my understanding of HTML says it should be in this code. But the checked="checked" part of the code appears to be stripped out by eform. (At least it isn’t visible anymore when I view the source of the page.)
Is there any reason why this is happening?
Is my HTML wrong?
I’m using eform 1.4.4.6 and MODx 0.9.6.3
Thanks.