![]() |
Custom Form Validation Rule - 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: Custom Form Validation Rule (/showthread.php?tid=32983) |
Custom Form Validation Rule - El Forum - 08-11-2010 [eluser]dennismonsewicz[/eluser] Is there anyway to write your own rule so that you can check if a certain value is greater than or equal to another value? I am wanting to check a birthday year field and am wanting to make sure that the submitted birthday year is greater than a certain age. Custom Form Validation Rule - El Forum - 08-11-2010 [eluser]verynewtothis[/eluser] I think you are looking for callbacks: Callbacks - your own validation functions |