I have been working on polishing up user registration routines for a number of sites, and downloaded the Username Check module by Dmitry Kresin last night. The module performs an AJAX request during registration to check for the availability of a username so that the user does not have to submit the form only to find out the chosen username is unavailable. This is good usability practice, but the module remains a little rough around the edges.
Taking some cues from Yahoo!'s user registration interface, I modified the module to:
- perform additional username validation checks against user_validate_name and drupal_is_denied
- automatically make AJAX request on username field blur and add form-autocomplete class (throbber)
- cleaned up the formatting to float Check availability link inline with the username field and display any errors in standard messages format
A patch for this module will be forthcoming.






Post new comment