• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
form validation callbacks aren't being called

[eluser]Bui Duc Long[/eluser]
thank you flaky!

Strange that the callbacks was worked on other project of mine, but not this time.

[quote author="flaky" date="1264528816"]you should extend Form validation
class MY_Form_validation extends CI_Form_validation{
    function run($module = '', $group = ''){
        (is_object($module)) AND $this->CI = &$module;
            return parent::run($group);

and when using form validation insert $this into run()

i've tried to use your suggestion but my form still not working.. is there any server or php level requirement to run this hmvc ?

my php version is : PHP Version 5.2.13
mysql version is : MySQL client version: 4.1.22

i've tried to install fresh ci and insert simple callback vallidation but it seems not working..

same here..

[eluser]Wayne Smallman[/eluser]
Yeah, I'm using Modular Extensions and this technique isn't working for me, either.

[eluser]Sven Delle[/eluser]
Anyone found a solution to this yet? I can't get it working.

That worked fine for me. Thanks

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.