I’ve noticed another new AJAX convention cropping up in a few places that I though I’d share. It solves a real problem in an elegant fashion: how to handle registration of new users.
Every site that requires a login needs to provide a way for new users to register. The tradeoff between supporting new users and existing users is always tricky: for example, most brokerage sites are oriented towards marketing to new users, and have a little link in the corner where existing clients can log in. Other sites orient towards existing users, and new users are shunted off to a registration page.
The login widget starts out oriented towards existing users.
But clicking on “New User Registration” doesn’t take you to a new page. Instead, the panel expands to show the fields required for registration.
Once the user has filled out the registration form completely, the panel displays a button that allows you to submit your data. This serves as a de-facto form validation: forms with incomplete data can’t get submitted.
Ajaxian wrote a great post about the login panel for treehouse magazine.