Welcome Guest, Not a member yet? Register   Sign In
Validation is_unique cannot be configured with dot_syntax
#1

How do I check the array of values (mark)?
PHP Code:
        [
            '*.mark' => [
                'label' => 'App.link.mark',
                'rules' => 'required|is_unique[link.mark,mark,{mark}]',
            ],
            '*.url' => [
                'label' => 'App.link.url',
                'rules' => 'required|min_length[7]|max_length[255]',
            ],
        ]; 
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB