Sueetie News

Registration Form Updates for Sueetie 2.0

by News Pop 14. October 2010 03:14

The Sueetie Registration Form received some long overdue loving today in anticipation of the Sueetie 2.0 release. Here’s the updated registration form as a point of reference.

Here are the registration form updates:

  • Client-side Username available checking
  • Client-side Email Address is available checking
  • Removed the double entry requirement on the password
  • Regular Expression Validator added to the email address
  • Passwords now support special characters

Here's what the Username and Email Address not-available indicators look like.

As for the geeky details, we’re using the standard Sueetie JQuery/WCF patterns, starting with an OnBlur() javascript method on the text fields as seen below.

<asp:textbox onblur="CheckUsername(this.value)" id="txtUsername" cssclass="LoginBoxBig" runat="server" />

OnBlur() passes the textbox value to the appropriate WCF service which displays the boolean result in a <DIV> tag.  Real simple.

function CheckUsername(username) {
    Sueetie.Web.SueetieService.IsNewUsername(username, SetUsernameStatusMessage);
}

function SetUsernameStatusMessage(result) {
    if (!result) {
        $("#UsernameCheckMsg").html("<br />Username already in use. <a href='ForgotPassword.aspx'>Forgot your Account Information?</a>");
    } else
        $("#UsernameCheckMsg").html("");
}

We often overlook the registration form since we as admins never see it, but it’s the first impression a new member gets of the site he or she has decided to join. It’s a function where sweating the details is required.

About Sueetie Blogs

Sueetie Blogs are written and managed by the Sueetie News and Marketing Team. Posts are published under the account "News Pop" which is a shared account used by our team. Because we're a bunch of lollipops here at Sueetie HQ, News Pop stands for News Lollipop.

Comments (5) -

10/14/2010 4:11:38 PM #

Gary Stadter

Your're right, Dave... simple stuff, but absolutely appreciated updates to the Sueetie solution!

gstadter United States

10/14/2010 4:13:11 PM #

Gary Stadter

yes, If I could edit my own comments, I'd correct my spelling error.   Smile

gstadter United States

10/14/2010 4:16:04 PM #

Dave Burke

Gary,

Thanks for the comments.  Both of them! Smile

What do they say, "Sweat the small stuff?"  I think that's where we're at on v2.0.  Packaging initialization should happen soon, btw, barring some big YAF announcement.

Dave

daveburke United States

10/14/2010 7:36:49 PM #

KC

Did I hear YAF? Smile

KC Sweden

10/14/2010 8:10:34 PM #

Dave Burke

KC,

I'm proceeding with v2.0 packaging and if YAf 1.9.5 goes RTM then we add it.  Otherwise we'll do a v2.1 with YAF cause we really need to get v2.0 out the door.

Thanks,
Dave

daveburke United States

Please login to leave a comment.
BlogEngine.NET 2.6 Logo

Powered by BlogEngine.NET 2.6.0.5

Follow Sueetie on Twitter
Copyright © 2008-2012 Sueetie LLC. All rights reserved.