You can see a very tiny example here (in spanish, ehem…): 

http://www.citiers.com/en

 

The server is validating the received data using common validators and
filters, but the response is managed with an Ajax class that writes Jquery
code and get’s executed in the client (with Ajax’s Jquery ‘script’
datatype).

  _____  

De: AJ McKee [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 26 de noviembre de 2008 16:16
Para: Xavier Vidal
Asunto: Re: [fw-general] Validating JQuery forms via AJAX

 

Hi Xavier,
I'd love to see the class if possible. Its the one thing thats putting me
off jquery at present, but this could change it.

Thanks
AJ



2008/11/26 Xavier Vidal <[EMAIL PROTECTED]>

I have an inherited form class from Zend_Form that can validate Ajax forms
and render the error messages using JQuery, if someone is interested, i can
share my code and we can promote it to ZF.


-----Mensaje original-----
De: Benjamin Eberlei [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 26 de noviembre de 2008 14:50
Para: [email protected]
Asunto: Re: [fw-general] Validating JQuery forms via AJAX


Hello Manuel,

there is currently no way to validate your form via ajax unless you
implement that yourself.

I might implement that someday, but the form plugin is not part of jQuery
or jQuery UI, so I havent integrated that yet.

best regards,
Benjamin

On Wed, 26 Nov 2008 02:58:18 -0800 (PST), manuelpedrera
<[EMAIL PROTECTED]> wrote:
>
> Hi, I've created a ZendX_JQuery_Form which has some fields with
> validators.
> The submit's click event is linked to a javascript function, where I want
> to
> check if the input entered is valid or not.
>
> When I did this using dojo forms, it was easy through form.isValid(), but
> I
> can't figure the way it's done using JQuery.
>
> Is there a way to use the validators before sending the data to the
> server?
> --
> View this message in context:
>
http://www.nabble.com/Validating-JQuery-forms-via-AJAX-tp20698748p20698748.h
<http://www.nabble.com/Validating-JQuery-forms-via-AJAX-tp20698748p20698748.
html> 
tml
> Sent from the Zend Framework mailing list archive at Nabble.com.






-- 
AJ McKee
phone: +353 (0)86 380 50 70
profile:  http://linkedin.com/in/ajmkee
jid:       [EMAIL PROTECTED]
blog:    http://aj.mc-kee.com/
twitter: @ajmckee

Reply via email to