# When is it appropriate to ask User confirmation?

A couple of times I archived some of my emails accidentally ( touch screen you know ) . They don't usually ask for confirmation while archiving messages or emails. But they do while deleting . So in what situations is it appropriate to ask for user confirmation ?

• Anytime they could potentially hurt themselves or others. Are you SURE you want to delete your entire hard drive? – MDMoore313 May 9 '13 at 16:49

User confirmation is almost always a bad solution. It breaks the user's flow and there's a real risk of habitually clicking yes on the confirmation. It basically makes 99% of the actions require more attention to catch the 1% that go wrong. And it works poorly.

Of course, if there's no undo option, a confirmation is often the only option, but even then there are better or additional ways of making the user aware of the risk:

• Separate the dangerous actions from the safe ones by space and color. Make sure the user is already aware of the risk before initiating the action and make sure to limit the risk of initiating the action accidentally
• Queue the action if immediate feedback is not required (Gmail can do this when sending an email). Give the user some time to realize a possible mistake. This basically gives you a temporary undo.
• Show a preview in the confirmation dialog. If the confirmation changes appearance in a meaningful way, it can help to break the user out of the habitual flow. A kind of "oh wait, I don't want that!" response.
• However, there are less frequently occurring situations where user confirmation is the better choice. Namely, when the time/resources required to take or undo the action are great. For example, when deciding to send a rocket to space, the time to reach the destination and the finances to make the mission happen are quite costly. A confirmation button before launching the rocket would be a wiser decision, as the action itself and undo-ing the action are expensive in many ways. – jsejcksn Jan 15 '15 at 9:37
• @pattern86 Even in that case, the fact that you created a confirmation button gives you a false sense that you solved the problem. People can still push the button out of habit. A better solution would be to use a molly-guard to prevent accidental button presses, and a time delay between the button press and the activation of the rocket, to allow for a cheap undo. The system should also clearly communicate the change of state once the button is pressed (ie. start a big red countdown). – Peter Jan 15 '15 at 15:17
• Those are great points! – jsejcksn Jan 15 '15 at 22:17
1. Confirm if a) the user might want to undo, but b) won't be able to.
2. Design to avoid a) and b).

Confirmation is warranted when

1. User initiated action will have significant consequence which cannot be undone

2. The user initiated action itself may not be risky, but there is a severe side effect of the action that user needs to be aware of

Note: But, having confirmation in place will not suffice. User should be clearly conveyed the consequences of the action while soliciting the confirmation. This will make the process of user confirmation a success.

Confirmation From user is required in some conditions which are given below :-

1. When the user activity looses some data or changes in some structure of information heavily.

2. When user enters or leaves a secured environment.

3. When accessing hardware or interacting with other programs or structure.

4. When user possessing any payment method successful or failure.

Other than above main reasons there are so many things which may depend upon the system or environment in which we are working , have such an requirement or not.

I use a software in which you need to right-click on the desktop and menu select the Save option.

But, next a message box appears asking if you're sure. This is unnecessary as it's unlikely you accidentally selected the desktop AND a menu option.

So, you have to click OK/Cancel.

It would be far better it the message box appeared indicating the thing had been executed, and after a few seconds, disappeared doing a self-confirm. This would give the option of you Cancelling if it did get executed by accident.

Or, if there was a menu option that allowed you to 'Save without confirmation' instead.

I'll have to make these suggestions to the author if I can find them as there's no email at their URL.

Nimda

• Please do not write reviews about software as an answer and try to make it more focused on the question. – Big_Chair May 6 at 12:24