Welcome Guest, Not a member yet? Register   Sign In
Use anything as a rule and $this->some_model issue
#3

Any attempt at formatting/indenting your code would have shown you the problem.

PHP Code:
$this->form_validation->set_rules'birthdate''Birthdate', [
    
'required'
    [
        
'birthdate_callable'
        [
            
$this->my_user_model
            
'checkdateformat'
        
]
    ]
]); 
Reply


Messages In This Thread
RE: Use anything as a rule and $this->some_model issue - by skunkbad - 01-31-2018, 05:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB