<?= $form->field($model, 'name')->label('Имя')->textInput(['placeholder' => 'Ваше имя'])?>
[
[['name'], 'required'],
[['name'], 'string', 'min' => 3, 'max' => 16],
[['name'], 'match', 'pattern' => '<regex_rule>']
]