Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Codeigniter Passing Extra Parameters to Custom Validation Rule
Post: RE: Codeigniter Passing Extra Parameters to Custom...

skunkbad Wrote: (07-17-2017, 11:07 AM) -- Maybe something like this: PHP Code: -- $second_param = 'whatever'; $rules = [     [         'field' => 'email',         'label' => 'Email',    ...
4,991 Views
2 Replies
07-17-2017, 12:23 PM
sentinel
    Thread: Codeigniter Passing Extra Parameters to Custom Validation Rule
Post: Codeigniter Passing Extra Parameters to Custom Val...

According to this documentation (https://www.codeigniter.com/userguide3/libraries/form_validation.html#callable-use-anything-as-a-rule), how can I pass second parameter to the rule method? This is ...
4,991 Views
2 Replies
07-17-2017, 06:39 AM
sentinel

Theme © iAndrew 2016 - Forum software by © MyBB