Hello brian and all, Not yet. And if I need to, how would I send the request to the PHP file? Can I do that only via standard $.ajax/$.post functions? thanks! -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule
----- Original message ----- From: brian <zijn.digi...@gmail.com> To: jquery-en@googlegroups.com <jquery-en@googlegroups.com> Date: Wednesday, December 16, 2009, 8:38:26 PM Subject: [jQuery] Urgent help with the validation plugin: no reaction onSubmit You might need to post some code. Are you using the submitHandler option at all? On Wed, Dec 16, 2009 at 7:06 AM, Andre Polykanine <an...@oire.org> wrote: > Hello everyone, > > There's a form I try to validate. > As there is a Nickname field, I check with the Remote method if it's > already used or not. I use a php file that forms a query to the MySql > database asking if the nickname entered from keyboard is equal to the > nickname I pass to the file (I get it earlier), I mean, the nick that > is already taken by the user. > Everything works flawlessly and well, but there is one case when the > form does submit but does not validate properly: if we go to the page, > change something but not the Nickname and then press Submit. > So, the Remote method does work onBlur and onChange but not onSubmit. > Now I'm focusing the Nickname field on the ready state: > $("#unick").focus(); > So the user lands on the Nickname itself just when he/she is on the > settings page. > but it's not too nice, don't you think so? So I wonder: why the > validation plugin doesn't send the Ajax request onSubmit, also? > Thanks! > > > -- > With best regards from Ukraine, > Andre > Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ > jabber.org > Yahoo! messenger: andre.polykanine; ICQ: 191749952 > Twitter: m_elensule > >