Complex Conditional Validation in Laraship

Laraship QuestionsCategory: TechnicalComplex Conditional Validation in Laraship
nao asked 6 years ago
Complex Conditional Validation is explained below: In Larship, When I do this, how do I code sometimes method at rules() function? Please tell me to use below code: $v->sometimes('reason', 'required|max:500', function ($input) { return $input->games >= 100; });
1 Answers
laraship Staff answered 6 years ago


Laraship is using Laravel standard validation engine, so what can be done in Laravel validation is identical to what we have