{{ aspExample({ code: "<fieldset class=\"form__fieldset form__group\">
<legend class=\"form__label\">Are you the victim of the crime?</legend>
<div class=\"form__item–choices\">
<input class=\"form__input-choices form__input-choices–radio\" id=\"radio-example-1-yes\" type=\"radio\" name=\"radio-example-1\" value=\"radio-example-1-yes\">
<label class=\"form__label-choices\" for=\"radio-example-1-yes\">Yes</label>
</div>
<div class=\"form__item–choices\">
<input class=\"form__input-choices form__input-choices–radio\" id=\"radio-example-1-no\" type=\"radio\" name=\"radio-example-1\" value=\"radio-example-1-no\">
<label class=\"form__label-choices\" for=\"radio-example-1-no\">No</label>
</div>
</fieldset>", nunjucks: "", title: "", id: "65a92e4b08b0f", url: "" }) }}
WIP – noscript text (required if “Question” is “Option to reveal conditional content”)
WIP – Wrap up to two radios on one single line, where the radios have short labels. Do not wrap on conditional content
Use the radio button input component when you need to present a list of no more than 7 options with only one possible selection. This is based on Millers’ Law (Ask JS).
Do not use the radio button input component for lists more than six options, with only one possible selection. Use a select component.
If a user has the option to select more than one option, use a checkboxes.
The below criteria all need to be met for a component to be considered as fully developed for use within the ASP Digital Design System.