how to use jquery in zend form? I am using zend studio 9 as editor and i’ll include jquery library but i don’t know how to use it to validate zend form. i found tutorial but they include zendx_jquery but there’s no this type of library in zend studio.
Share
You use jQuery the same way you would in any other application. If you are interested in ZendX, you will have to download the full Zend framework package from http://framework.zend.com/download/latest. Then search for the ZendX folder and add it to your project library. Personnally, I don’t use it but you could start there. If you simply want to use jQuery for your form validation, I strongly recommend the following video: http://www.zendcasts.com/ajaxify-your-zend_form-validation-with-jquery/2010/04/ . This is what I use for any client-side validation in my forms.