Re: [jQuery] Validate: a question about the Remote option

2009-12-01 Thread Juan Ignacio Borda
you have to actually echo the result of validation: true or false Original Message Hello everyone, I'm still dealing with that signup form. Now I'd like to check with an Ajax call if a login is already taken. That's what I'm doing: $("#signup").validate( { rules: { ulogin: {

Re: [jQuery] Validate: a question about the Remote option

2009-11-30 Thread Juan Ignacio Borda
hey..!!! you have to actually ECHO the result of your validation the remote method expects the response to be true or false. good luck! Original Message Hello everyone, I'm still dealing with that signup form. Now I'd like to check with an Ajax call if a login is already take

[jQuery] Validate: a question about the Remote option

2009-11-30 Thread Andre Polykanine
Hello everyone, I'm still dealing with that signup form. Now I'd like to check with an Ajax call if a login is already taken. That's what I'm doing: $("#signup").validate( { rules: { ulogin: { required: true, // It's a custom method checking a regexp, it's working login: true, rangelength: [3,20]