Welcome Guest, Not a member yet? Register   Sign In
Form Validation Callback Executing First
#3

Hi,
Yes, I have the 'MY_Form_validation' file created in the application's library folder.

PHP Code:
function run$module ''$group '' )
 
 {
 
   is_object$module ) ) AND $this->CI = &$module;
 
   return parent::run $group );
 
 

I also just noticed your function was explicitly declared 'public'.  I just tried that also, and same outcome.
I do call the form validation the same way:
PHP Code:
if ( $this->form_validation->run$this ) == FALSE 

I doubt it wold be an issue, but I do set the CI 'system' folder outside the web server's htdocs folder.  This would not explain one form validation working correctly with multiple input validations and another with just one form input validation.
Reply


Messages In This Thread
RE: Form Validation Callback Executing First - by Mr Lister - 02-04-2017, 03:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB