Skip to content

Latest commit

 

History

History
161 lines (90 loc) · 8.07 KB

File metadata and controls

161 lines (90 loc) · 8.07 KB

Previewing a question v1

Status

Date created: 2023-12-19

For testing


Contents



What

As-is

  • Form creators need to add their questions, go back to the list of questions they have added to their form and then click into the preview journey previewing every question within the form to see a single question and how it looks, and potentially will work.

To-be

  • Form creators can add their question and get a quick preview with their content as it would appear to the form fillers. They can then continue adding questions to their form without the need to navigate back and forth.

Key decisions

We want to:

  • make the smallest quick win change we think will benefit form creators
  • make sure the preview works for any assistive technology, something we had found issues with previously
  • make the preview a conscious choice for form creators so as they learn the product they can skip over unnecessary screens

Design

Initial Mural design

Question X: Preview question page. Screenshot
Preview question page giving example of a companies name question.

The screen shows some explanatory text:

This is how the question will look.

For this answer type, people can enter text into the box of up to x characters.

There is some text explaining that the preview does not actually allow interactions, and if the user wants to test the validation and errors they can preview the full form:

You cannot ente text into this preview to try it out - you can do this in the preview of the whole form.

Below is a box with the GOV.UK header including the form’s name.

Within the box it also shows the question text the form creator has added, “What’s your company called?” with a single line input text box.

Below the preview box, there is a green “Create next question” button followed by ‘or’ and a link “Edit this question” - used to take the form creator back to edit the current question.

Default answer type

Check your question page - example with simple question

Check your question. Person’s name answer type summary screen. Screenshot
Check your question page showing a summary of the question added.

The page shows an section titled “Answer settings”. It includes a definition list summarising the answer type and specific settings for this answer type. Each row had a change link for form creators make changes if they need to.

Next is a “Your question” section. Summarising the optional content a form creator has added including the “question text”, “hint text” which is optional and an answer if they needed to add guidance or make the question optional. Each row has a change link.

There are two call to action buttons. “Save question” as the primary green call to action and “Save and preview” grey button as a secondary call to action. Below is a link “Back to edit question”, the last page the user was on - replicating the back link from the top of the page.

Preview question page - example with simple question

Preview question. Person’s name answer type preview screen. Screenshot
Preview question page show what the added question and answer type would look like.

Since the form creator has selected to “Save and preview” they are taken to the new “Preview question” screen which shows a green success notification banner at the top of the page.

Success Question 1 has been saved

The screen starts with the question number as a caption above the page heading, “Preview question”.

There is content informing the form creator:

This is how your question will look. Answer type: Person’s name
Settings: Full name in a single box

The “Answer type” and “Settings” are placeholders for content to explain what the form creator is seeing and how the input will function for form fillers.

There is an outline box showing a version of the GOV.UK header with the form name “Apply for a juggling licence”.

There is a question “What’s your name?” with a single line text input.

Under the box is a green primary call to action “Add a new question”. Below is a link “Back to check your question”, the previous page the form creator was on.

Complex answer type

Check your question page - example with complex question with guidance

Check your question. Selection from a list answer type summary screen. Screenshot
Check your question page showing a summary of the question added.

The page shows an section titled “Answer settings”. It includes a definition list summarising the answer type and specific settings for this answer type. Each row had a change link for form creators make changes if they need to.

Next is a “Your question” section. Summarising the optional content a form creator has added including the “question text”, “hint text” which is optional and an answer if they needed to add guidance or make the question optional. Each row has a change link.

As the “Add guidance” row shows ‘Yes’ there is another section titled “Guidance”. This section shows the new content required for additional guidance. This includes, the “Page heading” and “Guidance text” showing the Markdown as it was written by the form creator.

There are two call to action buttons. “Save question” as the primary green call to action and “Save and preview” grey button as a secondary call to action. Below is a link “Back to add guidance”, the last page the user was on - replicating the back link from the top of the page.

Preview question page - example with complex question with guidance

Preview question. Selection from a list answer type preview screen. Screenshot
Preview question page showing what the added question and answer type would look like.

Since the form creator has selected to “Save and preview” they are taken to the new “Preview question” screen which shows a green success notification banner at the top of the page.

Success
Question 2 has been saved

The screen starts with the question number as a caption above the page heading, “Preview question”.

There is content informing the form creator:

This is how your question will look.
Answer type: Selection from a list

The “Answer type” is a placeholder for content to explain what the form creator is seeing and how the input will function for form fillers.

There is an outline box showing a version of the GOV.UK header with the form name “Apply for a juggling licence”.

There is a complex question page with a heading of “Prove you have right to abode in the UK”. Below is the Markdown that the form creator added now formatted as HTML so it appears as it would be to the form filler. Next is the question “Which of these countries have you lived in?” with a list of radio options, ‘England’, ‘Northern Ireland’, ‘Scotland’ and ‘Wales’. There is an ‘or’ separator above the final radio of ‘None of the above’.

Under the box is a green primary call to action “Add a new question”. Below is a link “Back to check your question”, the previous page the form creator was on.


Notes



Back to the top