Last modified: 2011-05-02 18:20:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30725, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28725 - email entry field: valid/invalid feedback
email entry field: valid/invalid feedback
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedback (Other open bugs)
unspecified
All All
: High critical (vote)
: ---
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-27 19:03 UTC by howief
Modified: 2011-05-02 18:20 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description howief 2011-04-27 19:03:33 UTC
When filling out the email field, the field turns red or green depending on whether, at any given point in time, it looks like the email is valid

for example, if I'm typing "myemail@address.com" and pause at "myemail", the field turns red.

the issue with this behavior is that the user is told they're doing something wrong before they've completed the action.
This has been observed on Chrome 10/OSX.
Comment 1 Krinkle 2011-05-02 18:19:37 UTC
(In reply to comment #0)
> When filling out the email field, the field turns red or green depending on
> whether, at any given point in time, it looks like the email is valid
> 
> for example, if I'm typing "myemail@address.com" and pause at "myemail", the
> field turns red.
> 
> the issue with this behavior is that the user is told they're doing something
> wrong before they've completed the action.
> This has been observed on Chrome 10/OSX.

Can you please verify this against current trunk HEAD ?

I very specifically bound the validation function to once('blur') and within that on keyup, which means:
* When typing in an emailadres it won't mark it was invalid/red or valid/green the first time you enter it (ie. the first and in possibly only attempt). Instead it will do the first validation after you leave the emailaddres field (when you've completed the first attempt).

At this point the field will either turn red or green. If and when the address field is adjusted after the first validation, it will validate after each key change.

Green scenario:
* User rates page, enters emailaddress, presses tab or whatever, sees mailaddress is ok (turns green), submits form.

Red-then-green scenario:
* User rates page, enters emailaddress, presses tab or whatever, sees mailaddress is invalid (turns red), user goes back and fixes it. After every key press the field is re-evaluated, it will stay red untill it's valid. When it is it turns green. User submits form.

-

Tested in Firefox 4 and Safari 5 on OS X.

If you see that the field is turning red before finishing initial filling of the field, please re-open this bug.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links