Loading helpers/librarys in _construct |
[eluser]brianw1975[/eluser]
libraries can be loaded in the constructor, thats for sure. I'll admit that I haven't used the form_validation helper yet, but part of me is thinking (unless you just bodged together some sample code) that a problem may be popping up because of incorrectly supplied data (namely your rules) to set_rules(). According to the user guide http://ellislab.com/codeigniter/user-gui...ation.html the rules should be supplied as an array with the field names associated with their necessary rule. Perhaps you can supply corrected code or provide more detailed code? |
Messages In This Thread |
Loading helpers/librarys in _construct - by El Forum - 08-24-2009, 10:45 AM
Loading helpers/librarys in _construct - by El Forum - 08-24-2009, 10:49 AM
Loading helpers/librarys in _construct - by El Forum - 08-24-2009, 12:01 PM
Loading helpers/librarys in _construct - by El Forum - 08-24-2009, 12:12 PM
Loading helpers/librarys in _construct - by El Forum - 08-24-2009, 12:35 PM
Loading helpers/librarys in _construct - by El Forum - 08-24-2009, 12:49 PM
Loading helpers/librarys in _construct - by El Forum - 08-24-2009, 01:27 PM
Loading helpers/librarys in _construct - by El Forum - 08-24-2009, 01:54 PM
Loading helpers/librarys in _construct - by El Forum - 08-24-2009, 02:10 PM
Loading helpers/librarys in _construct - by El Forum - 08-24-2009, 02:23 PM
|