--- url: "https://design-system.service.gov.uk/patterns/question-pages/" titulek: "Question pages – GOV.UK Design System" h1: "Question pages" popis: "Follow this pattern whenever you need to ask users questions within your service" jazyk: "en" kanonicka: "https://design-system.service.gov.uk/patterns/question-pages/" drobecky: ["Home", "Patterns"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 01:22:47" znaku: 20873 slov: 2876 kodovani: "utf-8" sha256: "ad2322c932d76a216470e9de9b78ca7ffbd3ff628fddad5ff6585ffd0baeae21" --- # Question pages This pattern explains when to use question pages and what elements they need to include. - HTML - Nunjucks HTML ```
Back

Where do you live?

``` Nunjucks ``` {% from "govuk/components/back-link/macro.njk" import govukBackLink %} {% from "govuk/components/radios/macro.njk" import govukRadios %} {% from "govuk/components/button/macro.njk" import govukButton %} {% block containerStart %} {{ govukBackLink({ text: "Back" }) }} {% endblock %} {% block content %}
{{ govukRadios({ name: "whereDoYouLive", fieldset: { legend: { text: "Where do you live?", isPageHeading: true, classes: "govuk-fieldset__legend--l" } }, items: [ { value: "england", text: "England" }, { value: "scotland", text: "Scotland" }, { value: "wales", text: "Wales" }, { value: "northern-ireland", text: "Northern Ireland" } ] }) }} {{ govukButton({ text: "Continue" }) }}
{% endblock %} ``` ## When to use this pattern Follow this pattern whenever you need to ask users questions within your service. You should make sure you know why you’re asking every question and only ask users for information you really need. To help you work out what to ask, you can carry out a [question protocol](https://www.uxmatters.com/mt/archives/2010/06/the-question-protocol-how-to-make-sure-every-form-field-is-necessary.php). If you ask for optional information: - in most contexts, add ‘(optional)’ to the labels of optional fields - for [Radios components](/components/radios/) and [Checkboxes components](/components/checkboxes/) , add ‘(optional)’ to the legend Never mark mandatory fields with asterisks. On every question page you should: - make sure it’s clear to users why you’re asking each question - allow users to answer ‘I do not know’ or ‘I’m not sure’ if they are valid responses Read more about [designing good questions](https://www.gov.uk/service-manual/design/designing-good-questions) in the GOV.UK Service Manual. ## How it works Question pages must include a: - back link - page heading - continue button If research shows it’s helpful for users, you can also include a progress indicator. Make sure to only ask for a piece of information once within a single journey. Whenever possible, do not ask a user to re-enter information they’ve already provided. If the same type of information is needed more than once, make it easier to reuse previously entered answers through one of these methods: - pre-populating the relevant fields - showing carried-forward responses as an option for the user to select ### Back link Some users do not trust browser back buttons when they’re entering data. Always include a [Back link component](/components/back-link/) at the top of question pages to reassure them it’s possible to go back and change previous answers. However, do not break the browser back button. Make sure it takes users to the previous page they were on, in the state they last saw it. An exception to this is when the user has performed an action they should only do once, like make a payment or complete an application. The browser back button should still work, but show the user a sensible message rather than let them perform the action again. ### Page headings Page headings can be questions or statements. #### Start by asking one question per page Asking just one question per question page helps users understand what you’re asking them to do, and focus on the specific question and its answer. To help you follow this approach, you can set the contents of a `` or `