One form layout for every form type
Use this layout on every public form and every signed-in form. Field order, required marking, inline errors, and the primary action stay in the same place on every form, so a reader learns one pattern and a builder can copy it.
What the audit found in this pack
Each row names a form type in the pack, where it appears, and the inconsistency to fix. No new field, limit, or permission is added by this page.
| Form type | Where it appears | Inconsistency found |
|---|---|---|
| Public request | Request a demo, demo form and question form, and Request a source review | Request a demo groups fields in three fieldsets with helper text on every field. The source review form uses the same fields with no helper text, no required note, and a plain button with no form actions block. |
| Saved answer | My Answers, My Library guide, and the saved panel on the guides index | My Answers groups the answer, the source, and where it lives, which is the right order. The guides index panel puts title and source link in one group and topic in a second group, with different label wording for the same title value. |
| Calculator | Reports dashboard calculator, Answer insight trend, and Answer quality metrics | Each calculator marks counts as required with an asterisk and a note, but no field has helper text, so a reader must guess what each count means and which counts must match. |
| Search and filter | Guides index, Terminology, and My Answers search and sort | Label wording differs, Clear search and Clear filters do different things, and the primary action is sometimes a button and sometimes a link, with no fixed place for the count status. |
| Checklist and stepper | First answer defaults, First-run checklist, and For instructors checklist | Inputs come before the steps on one page and after the steps on another, progress is shown in different wording, and the primary action is sometimes Mark setup complete and sometimes Save, with no fixed order. |
| Draft and offline | Anonymous draft checker, Offline draft and answer pack, and My data downloads | Draft saving is automatic on one page and button only on another, the primary action changes label from Save draft to Check draft to Save entry, and the status line sits in a different place on each page. |
The unified layout, in order
Apply every step on every form. A field that cannot meet a step is changed in the same release that adds it.
Step 1: Required note first
Place one required note above the first fieldset. State that fields marked with an asterisk are required. Use the same wording on every form.
Step 2: Fieldsets in fixed order
Use fieldsets in this order and no other order. First Context, such as college, assistant, and date range. Then Identity, such as name, work email, and role. Then Content, such as message, question, answer, and source. Then Review, such as checks and confirmations. A form with fewer groups uses the first groups it needs and keeps the same order.
Step 3: Label, field, helper, error
Keep this order for every field. Label first, field second, one helper paragraph third, error paragraph fourth. The field lists the helper id and, when present, the error id in aria-describedby.
Step 4: Required marking in one form
Required fields show an asterisk in the label, the words required in screen reader text, and required plus aria-required on the field. Optional fields show no asterisk and carry no required attribute.
Step 5: Inline error and summary
Place each field error after its helper text, with an id formed from the field id plus error. Place one form summary with role alert above the primary action when a submit fails. The summary states the count of fields that need attention and receives focus. Correcting a field removes its error.
Step 6: Primary action last and prominent
Place one primary button last in a form actions block. Give it a single verb that names the outcome, such as Send request, Save answer, Check draft, or Mark setup complete. Place secondary actions after the primary button as plain buttons. Do not place a second primary button in the same block.
Before and after examples by form type
Each example is labeled example only. Copy the after form. The before form shows the pattern as found in the pack.
Public request, before
As found on the source review form. No required note, no helper text, plain button.
<form data-request='question'>
<fieldset><legend>Contact</legend>
<div class='field'><label for='name'>Your name *</label>
<input id='name' name='name'></div>
</fieldset>
<div class='btns'><button class='button primary'>Send question</button></div>
</form>Public request, after
Unified order with required note, helper text, and form actions block.
Fields marked are required.
Saved answer, before
As found on the guides index panel. Title wording differs from My Answers and topic comes before source.
<label for='pc-title'>Question or answer title *</label>
<input id='pc-title' name='title'>
<label for='pc-topic'>Topic to follow</label>
<input id='pc-topic' name='topic'>Saved answer, after
Unified order Context, Content, Where it lives, with one label per value.
Fields marked are required.
Calculator, before
As found on the reports calculators. Required counts with no helper text and no grouping by period.
<label for='dash-questions'>Questions asked *</label>
<input id='dash-questions' type='number'>
<label for='dash-answered'>Answered *</label>
<input id='dash-answered' type='number'>Calculator, after
Unified order Context first, then counts grouped by period, each with helper text.
Fields marked are required. Enter counts only.
Search and filter, before
As found on Terminology. Search box with no scope label and Clear search as a small button beside the field.
<label>Search entries on this page</label>
<input type='search' placeholder='Search entries'>
<button class='button small'>Clear search</button>Search and filter, after
Unified order scope label, field, helper, count status, then Clear as the primary action for the filter.
This searches guide cards on this page only. It does not search full guide text.
Showing 0 of 45 guides
Checklist, before
As found across checklist pages. Steps before inputs on one page, inputs before steps on another, progress in different wording.
<fieldset><legend>Five steps</legend>
<label><input type='checkbox'> Step 1</label>
</fieldset>
<div class='field'><label>College name</label></div>Checklist, after
Unified order Context inputs first, then steps, then progress, then one primary action.
Fields marked are required.
Draft and offline, before
As found across draft pages. Save on one page, Check draft on another, Save entry on a third, with the status line in a different place each time.
<textarea id='anon-question'></textarea>
<button id='anon-check'>Check draft</button>
<p id='anon-status'></p>Draft and offline, after
Unified order Content first, Checked result second, one primary action, status after the actions.
Fields marked are required. Do not add student record details.
Checks before you ship a form change
Run each check on a phone and on a desktop with keyboard and screen reader before you publish.
- Required note sits above the first fieldset and fieldsets follow Context, Identity, Content, Review order
- Every field keeps label, field, helper text, error text order, with the helper id and error id in aria-describedby
- Required fields show an asterisk plus screen reader text, and optional fields show neither
- Each field error sits after its helper text, and the form summary with role alert receives focus on submit
- One primary button sits last in the form actions block, with one verb that names the outcome, and secondary actions follow it
- Field text is at least 16 pixels, each control is at least 44 pixels high, and focus stays visible
Next guide
Keep empty states consistent wherever a list can be empty.