Answer the question
In order to leave comments, you need to log in
How to properly override validation in yii2?
Good evening,
such a question:
I have rules described in the model, but for one page, for example, 1.3, the field must be requare and for the other 4.5.
How do I override the validation method? As detailed as possible, please, or click on the required point of the docks.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question