Forum
Radio button set to checked by default
Hi, I have 2 radio buttons "Yes" and "No". Is there a way to set one as "checked" by default. Normally you can do this with checked="checked" if you have a list of radio inputs. Not sure how/if this can be done here.
<perch:input id="interested" label="Interested" type="radio" options="Yes|yes,No|no" class="radio" wrap="div.radio"/>
Yes, one should ideally be selected by default. Try setting the
value
Perfect. Thanks!