![]() |
date validation help - 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: date validation help (/showthread.php?tid=14079) |
date validation help - El Forum - 12-17-2008 [eluser]hackersapien[/eluser] I'm trying to implement simple date validation on a user form that I have, I don't want to extend the current validation library, instead I'd rather have a simple function that I can call. I'm using CI v1.6.3 on my app. I've looked at Date Validation? but I can't seem to get it to work in my method. Appreciate any help I can get. date validation help - El Forum - 12-17-2008 [eluser]thinkigniter[/eluser] try adding this built in php function to your script. http://php.net/checkdate date validation help - El Forum - 12-17-2008 [eluser]Michael Wales[/eluser] If you are just wanting a simple function you can call, to validate the input, read up on using your own callback functions within the Form Validation library. date validation help - El Forum - 12-17-2008 [eluser]hackersapien[/eluser] I just read up on callback functions and got it working, guess it pays to always go through the documentation before you post a question. |