Performing both client side and server side validation using jQuery and CodeIgniter

Posted by Vasu on Stack Overflow See other posts from Stack Overflow or by Vasu
Published on 2010-03-13T04:50:07Z Indexed on 2010/03/13 4:55 UTC
Read the original article Hit count: 561

Filed under:
|
|
|
|

What is the right way of doing both client side and server side validation using jQuery and CodeIgniter? I am using the jQuery form plugin for form submit. I would like to use jQuery validation plugin (http://docs.jquery.com/Plugins/Validation) for client side validation and CodeIgniter form validation on the server side. However the two don't seem to gel together (or I am unable to get my head around it). Can someone help please? Whether its a client side validation or server side validation, the user should see consistent UI displaying error messages next to the input fields.

© Stack Overflow or respective owner

Related posts about codeigniter

Related posts about jQuery