Duplicate Username should not be allowed

31 views
Skip to first unread message

Navy

unread,
Mar 11, 2014, 3:32:14 PM3/11/14
to backbone-...@googlegroups.com

I have created UI for users to create their own username and password. Username and passwords are stored in JSON format.

Workflow: 1) When user clicks on Register Button, user will be presented with UI screen with username and password input text fields 2) When user enters username it invokes blur event which captures the value entered into input text field

My goal is to check the user entered "username" already exists or not. If "username" exists it should ask user to create new one.So duplicate usernames should not be allowed

How can we check for duplicates ??

Luis Vasconcellos

unread,
Mar 11, 2014, 3:45:36 PM3/11/14
to backbone-...@googlegroups.com
I would probably create a method on my model that would make an ajax request to my server in order to find out if that username is already taken or not.



Luis Vasconcellos
Web Developer at DTM



--
You received this message because you are subscribed to the Google Groups "Backbone.Marionette" group.
To unsubscribe from this group and stop receiving emails from it, send an email to backbone-marion...@googlegroups.com.
To post to this group, send email to backbone-...@googlegroups.com.
Visit this group at http://groups.google.com/group/backbone-marionette.
To view this discussion on the web visit https://groups.google.com/d/msgid/backbone-marionette/e069a13e-0152-497c-afe8-68b334ccb6a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages