Loading validation function from library? |
[eluser]Maximilian Schoening[/eluser]
Hi, I have the following function inside a controller: Code: /** ---------------------------------------------------------------------- As you can see I am validating the password field with a custom validation function (authenticate()) but all this function does is call another function inside a library. Can I load the library function login() directly into the validation rules? Thanks, Max
[eluser]pistolPete[/eluser]
[quote author="Maximilian Schoening" date="1252201535"]Can I load the library function login() directly into the validation rules[/quote] Try this extension: http://codeigniter.com/wiki/MY_Form_vali...to_Models/ |
Welcome Guest, Not a member yet? Register Sign In |