Categories
How to hide the error message?
How to hide validation error message in Yii2 form? Do not disable validation, but simply hide the hint itself that you need to fill in the field.
Answer the question
In order to leave comments, you need to log in
For example like this<?= $form->field(/* ... */)->error(false) ?>
<?= $form->field(/* ... */)->error(false) ?>
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question