hmrc / design-patterns

Documenting HMRC design patterns
http://hmrc.github.io/assets-frontend/
MIT License
32 stars 4 forks source link

Names #63

Closed gavinwye closed 5 years ago

gavinwye commented 7 years ago

Screenshot

Asking for a name image

We also tell people the name we have for them but this is done as part of #4 (HMRC header)

gavinwye commented 7 years ago

This pattern is in

MarkKeeling commented 7 years ago

This pattern is ideal for HMRC's needs (due to tech constraints) however wider XGov does consider a single entry more acceptable.

stevenaproctor commented 6 years ago

@gavinwye Any idea why the service manual says you do not have to mark a middle name as optional but elements says you do? See https://www.gov.uk/service-manual/design/names#labelling-name-fields and http://govuk-elements.herokuapp.com/form-elements/#form-optional-fields

russellthorn commented 6 years ago

Register to vote have this page - https://www.registertovote.service.gov.uk/register-to-vote/name (but have omitted the optional label for the middle name)

stevenaproctor commented 6 years ago

@russellthorn The service manual actually says to leave the optional label off middle name. I assume it will be because people without middle names will know to leave it blank. And if you put it on people with middle names may decide to leave it out.

Maybe the pattern needs to be "Middle name, if you have one" or not ask for it at all. What happens if someone with a middle name leaves it blank?

russellthorn commented 6 years ago

@stevenaproctor I'm not sure what happens if you leave middle name blank, even though I re-registered to vote recently. I think it does nothing?

gavinwye commented 6 years ago

We should mention this in a larger name pattern taking account of #11 Previous names

jennifer-hodgson commented 6 years ago

Published in the GOV.UK Design System

stevenaproctor commented 6 years ago

Add examples to the Design System showing separate names. It is a use case that is allowed and explained in the documentation.

mikeash82 commented 5 years ago

Moved to Names on the GOV.UK issues backlog