M
M
Messi2017-09-12 14:36:12
Yii
Messi, 2017-09-12 14:36:12

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

1 answer(s)
I
Ilya Agafonov, 2017-09-12
@FitTech

For example like this
<?= $form->field(/* ... */)->error(false) ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question