Callbacks for own Validation Functions not working (bug?) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Callbacks for own Validation Functions not working (bug?) (/showthread.php?tid=45500) |
Callbacks for own Validation Functions not working (bug?) - El Forum - 09-23-2011 [eluser]Unknown[/eluser] I used the code from the documentation, but it wont work. Code: function register(){ I got an validation-error if the username field is empty (because of the "required" validation) so validation is working, but not with my custom validation, if i enter something the custom callback for validating is never called (i dont see the message, and i don't see the debug echo). My environment is wampserver for windows with php: 5.2.5 and codeigniter is ver. 2.0.3 Am i doing something wrong or is this realy a bug? Thanks for your help Callbacks for own Validation Functions not working (bug?) - El Forum - 06-05-2012 [eluser]bennyhill[/eluser] Did you figure this out. I can't get callbacks in validation to work either. My other validation runs, just not callbacks. Callbacks for own Validation Functions not working (bug?) - El Forum - 06-05-2012 [eluser]CroNiX[/eluser] Post where you set the validation rules along with your callback function. Callbacks for own Validation Functions not working (bug?) - El Forum - 06-05-2012 [eluser]bennyhill[/eluser] [quote author="CroNiX" date="1338932323"]Post where you set the validation rules along with your callback function.[/quote] Cronix, I created another thread. My code is there. http://ellislab.com/forums/viewthread/218664/ |