Form validation: Callback not changing the input value |
[eluser]coolgeek[/eluser]
Still generating a record with "test award" as the name and '0000-0-0' as the date. Here's the updated (and complete) copy of the validation library Code: <?php You'll note that I'm even trying to change the value in award_check in case the if failed for some bizarre reason. Also note that I've updated to accept a parameter in date_check, even though I'm not using it. I am continuing to get (and fix) PHP errors flagged on MY_Form_validation.php when I've got a typo, so I am confident that CI_Form_validation is being extended and yes, checkdate takes month first http://us3.php.net/manual/en/function.checkdate.php |
Welcome Guest, Not a member yet? Register Sign In |