{{ aspExample({ code: "<div class=\"form__page-heading\">
<h1 class=\"form__page-title\">Form Title</h1>
<p class=\"form__page-subtitle\">All fields are required unless specified otherwise.</p>
</div>
<fieldset class=\"form__fieldset form__group\">
…form content…
</fieldset>", nunjucks: "", title: "", id: "65a92c9399119", url: "" }) }}
Place at the top of the page. WIP — above div.form__page-heading
Links should go to the question id, placed on fieldset.form__fieldset if question is wrapped in a fieldset or div.form__group.form__group–error if question is not wrapped in a fieldset
Give an example of a link to the field with an error?
{{ aspExample({ code: "<div class=\"form__errors\" id=\"errors-example-1\" role=\"group\">Give an example of a link to the fields with errors?
{{ aspExample({ code: "<div class=\"form__errors\" id=\"errors-example-2\" role=\"group\">WIP – We use HTML5 attributes (e.g. required) on child elements within conditional content. BUT do not use it on parent elements
JavaScript countdown