Answer by Mitchell McKenna for Map CodeIgniter Validation class to Jquery validation

September 6 2010, 10:19pm

You could make ajax calls back to CI for validation using $.ajax or $.post, that way you only have to create your validation rules in CI.

Here's an example I found to get you started: http://stackoverflow.com/questions/2331389/jquery-post-codeigniter-validation/2331527#2331527

Is there a way to map CodeIgniter Validation class to Jquery validation?

Not built-in. Not sure best way to approach this, but you could put all your rules in a validation config file and somehow get your jQuery to parse that file for validation rules when needed.