DFE-Digital / DFE-Digital/compass
Build demand intake form
Open
@andyjones81 is already working on this.
Since Dec 5, 2025.
- Dominant language
- HTML
- Stars
- 0
- Forks
- 1
- Avg merge
- 1m
- Merged PRs (30d)
- 3
Description
User story
As a policy or portfolio lead, I need a GOV.UK-style form to submit support requests so Central Ops can assess and track them consistently.
Description
Implement a browser-based intake form that posts to the DemandRequest model, with conditional questioning for funding and headcount.
Acceptance criteria
- Form uses GOV.UK / DfE design patterns and styles
- Form captures all mandatory DemandRequest fields required at submission
- Conditional questions are shown when:
- "Does this request have confirmed funding?" = Yes
- "Does this request require additional headcount?" = Yes
- On successful submit:
- A DemandRequest record is created
- Status is set to "New"
- The requestor receives a confirmation message on screen
- The requestor receives a confirmation email (if notifications are in scope)
- Server-side validation implemented for required fields and basic formatting
- Form can pre-populate user name, email and team from auth context (where available)
- Validation errors and summaries are clear and appear in an accessible way
Non-functional
- Form meets WCAG 2.2 AA
- Only authenticated users can submit a request
- Form submission uses secure POST over HTTPS
- Error states are logged for diagnostics (without leaking sensitive data)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.