Welcome Guest, Not a member yet? Register   Sign In
extending form_validation
#2

[eluser]tomcode[/eluser]
1. I have my extending libraries under application/libraries, never tried having them in the system
2. the file name should be MY_Form_validation.php, not MY_form_validation.php
3. put a log message in the constructor of MY_Form_validation, them You're sure whether the file is loaded
4. the method test_my_function() should take one parameter (the value to validate), i.e. test_my_function($value)


Messages In This Thread
extending form_validation - by El Forum - 02-09-2010, 05:11 PM
extending form_validation - by El Forum - 02-09-2010, 07:18 PM
extending form_validation - by El Forum - 02-10-2010, 10:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB