Open sinclairs opened 5 years ago
@sinclairs we haven't designed the page for entering multiple offender names yet. It probably won't span multiple pages. There is a patter for adding another thing to the page which is what I'll probably use to do this.
That would mean that we then go back to the offender name page and show all offenders pre-filled.
But yet to be designed.
@gavinwye It would need to span multiple pages to support JavaScript being disabled, or you'd need to put an arbitrary number of fields on a single page. This could obviously be enhanced with JavaScript enabled.
I can't see the repeating question pattern, what one is it you're looking at?
@sinclairs the pattern is in the backlog https://github.com/alphagov/govuk-design-system-backlog/issues/21
I'd need to look around a bit to find the right pattern to use but would do that as part of the ticket for the work.
@gavinwye No worries. Let me know when you're looking at it so we can get it right on the technical side.
The HMRC pattern looks nice: http://hmrc.github.io/assets-frontend/patterns/add-to-a-list/index.html
It doesn't appear to use JavaScript and would fit out current model of repeating questions 👍
Yes would probably look at something like that
Single field to single line text:
Presented on summary page as:
Change action
Goes to "Enter your telephone number" page.
Multi-field page to single line text:
Presented on summary page as:
Change action
Goes to "Enter your name" page.
Multi-field page to multi-line text:
Presented on summary page as:
Change action
Goes to "Enter your address" postcode page. ??
Multi-page to single-line text
Pages
Page 1
Page 2
Presented on summary page as:
Change action
Goes to "Enter your address" postcode page.
Multi-page to multiple change actions
Pages
Page 1
Page 2
Page 3
Page 4
Page 5
...
Presented on the summary page as:
??
Change action
Multiple change actions for each offender name entered?