2

I am looking for UI patterns for scenarios where the answer to a question can be Yes or No but the user can also choose to not answer the question.

The meaning is different in all the 3 scenarios.

An example is as below:

Q. Does the vessel have an approved Ballast Water management certificate on board?

The answer could be Yes or No. But the user can also choose to not answer the question. The question is not mandatory since the legislation is such that users can choose to ignore it.

What we also want is flexibility so that the question can become mandatory once the legislation comes into force. This can happen in a year's time. What is the best way of representing this on the screen? If users have chosen Yes or No they must have the ability to select 'No answer' again.

  • 1
    Why not just have a "yes" checkbox? – Jarrod Mosen Feb 10 '14 at 3:16
  • 1
    Because there are three answers: yes/no/no answer. – Dirk v B Feb 10 '14 at 3:32
2

Radio buttons: yes, no, and no answer, with no answer preselected.

Alternatively, you can go for a slightly less "harsh" answer, and have a drop-down with yes, no and an initially selected Select an answer at the top of the list.

Feel free to change the copy of any of those to fit your needs, but those are your options from a UI technical point of view.

  • I don't think that having "no answer" preselected is good. No answer is a valid choice but it is also different than not answering at all. – Pierre-Alain Vigeant Feb 10 '14 at 5:22
  • Added some detail. – Dirk v B Feb 10 '14 at 5:26
  • 1
    Thanks. Drop downs though will add one more click for the user. On a tablet device it might be easier to just have radio buttons. – Jay Feb 10 '14 at 6:17
  • Aye. Keep in mind though that one extra click isn't necessarily a bad thing. As long as a user has a sense of progress during an activity, you can make him/her jump through a hoop or two. uxmyths.com/post/654026581/… – Dirk v B Feb 10 '14 at 6:21
  • 1
    The extra click article really refers to navigation not to form completion. And it'd be far more than just one extra click if the whole form were to be dropdown selects rather than radio buttons / checkboxes. I wouldn't put the options into a dropdown unless there were at least 7 or so options to choose from. – JonW Feb 10 '14 at 7:06
0

Allowing a user to explicitly not answer certain questions and making answers mandatory are separate stages. Think about how other form elements, like text input or the dropdown with a title row, allow a 'no answer'. Specifically, they allow this to be attempted, but upon clicking 'Submit', your validation should inform the user they need to provide certain answers.

In your situation, it seems that the required fields change over time, and a user may be required to return to the form to add extra information, or alternatively may be allowed to remove certain information.

While the Yes / No is unique in requiring a third option to represent "No Answer", I do not believe that it is obvious to all users that choosing the top 'Select Answer' in a dropdown is equivalent to "No Answer", or even that they can delete data from a text input.

I would therefore recommend that you enforce some consistency across all the form elements, and introduce a column for 'No Answer' with tickboxes or some other obviously clickable element. Upon clicking this, the relevant field would be set to the relevant 'no answer' (via JS for HTML forms). You may be able to integrate within this column an indicator as to whether the answer is required.

So for Yes/No answers, this could select a hidden No Answer radio element.

Unfortunately, I cannot think of a public example where this approach is used.

You may also consider wish to consider whether 'Not applicable' is meaningful as a distinct option to 'No' in each answer.

0

What if there were a checkbox indicating that this question is answered, then the radio buttons. when the user clicks a radio button the checkbox automatically gets marked, unchecking the checkbox clears the radio button.

[x]  (o) yes  ( ) no
[ ]  ( ) yes  ( ) no
[x]  ( ) yes  (o) no
  • That doesn't seem very intuitive; if I encountered it, I don't think I'd have any idea what the checkbox did (without trying it). You may as well have a little "clear" link. – Bob Feb 11 '14 at 3:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.