Page 1 of 1

ajax validation

Posted: Mon Nov 11, 2013 6:30 am
by dexpras
How Could I validate forms even before pressing submit button using ajax ?

Re: ajax validation

Posted: Mon Nov 11, 2013 8:20 am
by Celauran
Listeners on each field requiring validation?

Re: ajax validation

Posted: Mon Nov 11, 2013 11:01 am
by dexpras
no I just need something like this, error must appear just after entered the value in to the field.

Re: ajax validation

Posted: Mon Nov 11, 2013 11:19 am
by Celauran
Which is exactly what I said. Attach a listener to each field requiring validation. Have validation triggered on keyup or on change, as the case warrants.

Re: ajax validation

Posted: Mon Nov 11, 2013 11:33 am
by dexpras
Got it.
Thanks a lot.