The issue: we designed an application that requires users to fill out a form, then displays their errors in a popup window. It’s a lengthy form that can present many errors, so showing the errors on the form itself wasn’t a good solution. We chose the dreaded popup window. Certainly our choice warrants further debate, but the coding is done and here we are.
Our thinking: we’ll explain to people how to allow popups for our site, and their popup blockers won’t be a problem. (Tools – Options – Popups – Allow. Not so hard.)
Not so. In end-user testing, we realized that some people don’t know they have popup blockers in the first place. Hence, they don’t try to unblock our site.
Example: “I didn’t need to remove the popup blocker — the site worked fine. However, I didn’t get a confirmation message when I submitted the form.”
Hmm…. what the? … lots of chin scratching. Aha! She didn’t get a confirmation message because the form had errors she didn’t see. This user never knew she was missing the popup windows.
So here’s the solution, after a bit of Google searching: Will Bontrager’s popup killer test. Thanks Will! His site explains very clearly how to implement this code.