> Putting up a modal alert when the user tries to focus a
> different field is, IMHO, quite annoying. Maybe I don't know
> the phone number yet? Maybe someone is reading the values to
> me and I have to fill in a different field that's being read
> right now? Maybe I was just tabbing through the phone-number
> field on my way to a different field but got stuck there by
> this alert?
> It's much better to wait until the user tries to submit the
> form, and then do the validation. That's what most websites do.
Agree. But, I've also seen a bit of clever AJAX to display an inline text message next to the field that doesn't pass validation. This way, the user is altered before submitting data but in an unobtrusive way.
Then again, this would require more JS to write and debug.
Then again and again, this is why tools like jQuery are so popular. :)
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden