• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validation callback issue

#1
[eluser]EEssam[/eluser]
Hi,

I have something like this in my controller:

...
$rules['parentid'] = "callback_parental_check";
...

function parental_check($parent)
{

}

It's working fine but I need to pass another parameter for parental_check function to compare it with $parent variable. How can this be done?

Thanks.


Messages In This Thread
Validation callback issue - by El Forum - 06-24-2008, 04:03 PM
Validation callback issue - by El Forum - 06-24-2008, 04:23 PM
Validation callback issue - by El Forum - 06-24-2008, 04:46 PM
Validation callback issue - by El Forum - 06-24-2008, 04:52 PM
Validation callback issue - by El Forum - 06-24-2008, 04:53 PM
Validation callback issue - by El Forum - 06-24-2008, 05:13 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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