F
F
First Name2017-05-19 20:11:30
Yii
First Name, 2017-05-19 20:11:30

How to make validation on the first name field in yii2?

Good day to all.
There is a field "Name"

$form->field($model,'name')->textInput()->label('ФИО');

What is the best way for me to do validation?
thank you in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question