Welcome Guest, Not a member yet? Register   Sign In
form validation callbacks aren't being called
#11

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

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

[eluser]niurexx[/eluser]
[quote author="flaky" date="1264528816"]you should extend Form validation
Code:
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()
Code:
if($this->form_validation->run($this))
.
.
.
[/quote]

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..
#13

[eluser]carnalito[/eluser]
same here..
#14

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

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

[eluser]Unknown[/eluser]
That worked fine for me. Thanks




Theme © iAndrew 2016 - Forum software by © MyBB