Welcome Guest, Not a member yet? Register   Sign In
Unable to use validation rules that I set to the Config file
#2

Did you place your config rules in the class?

PHP Code:
class Validation
{
    public $signup = [
        'username'     => 'required',
        'password'     => 'required',
        'pass_confirm' => 'required|matches[password]',
        'email'        => 'required|valid_email'
    ];


Also you using getRuleGroup where I believe it shoulld be setRuleGroup.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Unable to use validation rules that I set to the Config file - by InsiteFX - 09-20-2020, 05:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB