Welcome Guest, Not a member yet? Register   Sign In
Extending Form validation Constructor Error
#1

[eluser]OES[/eluser]
Hi Peeps.

Have any of you come accross this yet.

I can extend Form_validation no problem at all but as soon as I add a constructor it breaks. There are no errors but you do not get your error messages from the function.

IE
Code:
class MY_Form_validation extends CI_Form_validation {

  function MY_Form_validation()
  {
    parent::CI_Form_validation();
  }
}

Removal of the constructor it then works. ?

Any ideas.


Messages In This Thread
Extending Form validation Constructor Error - by El Forum - 11-15-2008, 05:32 AM
Extending Form validation Constructor Error - by El Forum - 11-15-2008, 06:02 AM
Extending Form validation Constructor Error - by El Forum - 11-15-2008, 10:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB