Welcome Guest, Not a member yet? Register   Sign In
Validation callback
#3

To invoke a callback just put the method name in a rule, with “callback_” as the rule prefix.
If you need to receive an extra parameter in your callback method, just add it normally after
the method name between square brackets, as in: callback_foo[bar], then it will be passed as
the second argument of your callback method.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Validation callback - by rolly - 11-19-2017, 05:22 AM
RE: Validation callback - by PaulD - 11-19-2017, 07:08 AM
RE: Validation callback - by rolly - 11-20-2017, 08:02 AM
RE: Validation callback - by InsiteFX - 11-20-2017, 05:45 AM
RE: Validation callback - by rolly - 11-20-2017, 07:57 AM
RE: Validation callback - by PaulD - 11-20-2017, 08:17 AM
RE: Validation callback - by rolly - 11-21-2017, 01:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB