Welcome Guest, Not a member yet? Register   Sign In
Form Validation through JQUERY
#3

[eluser]Bramme[/eluser]
I fully agree with Crafter. Add the jQuery validation for the comfort of your users, keep the CI validation for your own good.

And no, the CI validation can't be ajaxified, seeing as Ajax is based on Javascript, which is client side and the CI validation methods are php, which are server side...

It would be possible to write a library/js files that would setup client side validation according to the rules you set in the validation class, but that would require client side scripting from CI, which isn't part of CI at all. And if the library were to use a javascript framework, things would get even more complicated, seeing as not everyone uses jQuery or Prototype or Mootools or whatever.


Messages In This Thread
Form Validation through JQUERY - by El Forum - 09-04-2008, 11:04 PM
Form Validation through JQUERY - by El Forum - 09-05-2008, 01:54 AM
Form Validation through JQUERY - by El Forum - 09-05-2008, 02:52 AM
Form Validation through JQUERY - by El Forum - 09-05-2008, 03:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB