[jQuery] Re: Username availability check and form validation

2009-07-21 Thread MOZ
This may help you: http://beski.wordpress.com/2009/05/16/check-email-already-exist-ajax-jquery/ On Jul 20, 5:28 pm, psykeeq wrote: > So I have a JQuery/ajax username availability check function which > calls a file check.php that scans the database  for existing username > and lets you know if t

[jQuery] Re: Username availability check and form validation

2009-07-20 Thread Jörn Zaefferer
The validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) has a remote method (http://docs.jquery.com/Plugins/Validation/Methods/remote#url has links to demos, too) for exactly that purpose. Jörn On Mon, Jul 20, 2009 at 2:28 PM, psykeeq wrote: > > So I have a JQuery/

[jQuery] Re: Username availability check and form validation

2009-07-20 Thread Hector Virgen
I suggest disabling the submit button so the user won't be surprised when clicking it has no affect. -- Hector On Mon, Jul 20, 2009 at 12:59 PM, James wrote: > > The code you provided is just the check when the field has the blurred > event called. Are you also doing the check when the form is

[jQuery] Re: Username availability check and form validation

2009-07-20 Thread Anoop kumar V
Also - maybe you have a typo - should the line not be: else if(data=='yes') instead of else if(data='yes') Thanks, Anoop On Mon, Jul 20, 2009 at 3:59 PM, James wrote: > > The code you provided is just the check when the field has the blurred > event called. Are you also doing the chec

[jQuery] Re: Username availability check and form validation

2009-07-20 Thread James
The code you provided is just the check when the field has the blurred event called. Are you also doing the check when the form is submitted? You have to do some kind of check on form submit, and if it doesn't pass, do a "return false;" and the form should not be submitted. On Jul 20, 2:28 am, ps