Take the 2-minute tour ×
User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It's 100% free, no registration required.

Let's say you're in a form and you just forgot to enter .com at the end of your email addy. You tab or click into the next input, but the input turns red and an error pops up saying you have an invalid email. JavaScript forces a focus event on that input every time you try to blur.

Is this good practice?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

No. I think it is a rather bad practice.

Indicating visually (on blur) that data entered is bad can be a good practice, but forcing the focus back to the bad-data-field is a bad practice.

It seems like the end result of such behavior is that it forces the user to enter the correct data into one particular field before they can move onto any other. It doesn't help the user any more compared to letting them complete the form in any order they prefer (and fix their entry omission in any order they prefer too). It is likely to only frustrate them as the mental analogy is the one of being micro-managed. Presenting multiple input fields all on one page sets the user up with an expectation that they're at the discretion to choose what to work on. If the end result of the behavior described in the question is necessary, a way to handle it more gracefully is to only present one input field per screen/step/page.

share|improve this answer
    
A very well-reasoned answer. Thanks! –  Josh Smith Jan 6 '12 at 4:20
1  
Would have agreed entirely with the reasoning. However, this applies to not just the point in question but the whole philosophy of UX. Are we to do a rethink on all that we are doing now? Where's the thin line between validation and micromanaging? Perhaps you could have just said "Aw, that's taking things a bit too far." –  Kris Jan 6 '12 at 5:16
    
Alan Cooper even suggest to let the user to save the record, even when info is invalid, but keep the record marked as invalid for future fix. –  Eduardo Molteni Aug 8 '12 at 17:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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