Data collection loops


A user may be required to provide repetitive information, either through manual choice or automatically.

When to use this pattern

To satisfy policy requirements, the user is automatically placed back to the start of a particular point for collecting data e.g. when you need to collect address history over a certain period of time e.g. 5 years.

Image of your address history entry boxes

To satisfy user requirements, and the user chooses whether or not to add more e.g. when entering details for a number of convictions, or accreditations.

Image of rental property address boxes

Accessibility

The govuk-visually-hidden expansion to the 'Remove' button is critical for screen reader users who need to know which address they are removing.

Contents

<button type="button">
  Remove <span class=”govuk-visually-hidden”>the address 1 Leith Rd, Edinburgh, EH1 1EH</span>
</button>

Research on this pattern

This is an instance where the date pattern only uses the month and year, as users found it difficult to recall the exact date over a timespan. Users who moved multiple times wanted to see a build up of addresses, so we included a summary table.

When users were entering repetitive information in, they lost track of what they'd entered, and what they hadn't. By implementing the playback table, this was no longer an issue.


There is a problem