Commit 2c482dec authored by Shakarim Sapa's avatar Shakarim Sapa

- Убрали валидацию

parent 36905be1
......@@ -102,7 +102,13 @@ WidgetAssetBundle::register($this);
<div class="row" style="padding-bottom: 30px;">
<div class="col-md-4 col-xs-6 col-sm-12">
<?php
$f = ActiveForm::begin(['id' => 'sh_reg_form', 'options' => ['enctype' => 'multipart/form-data']]);
$f = ActiveForm::begin([
'id' => 'sh_reg_form',
'enableAjaxValidation' => true,
'enableClientValidation' => false,
'validateOnType' => true,
'options' => ['enctype' => 'multipart/form-data']
]);
echo $f->field($formModel, 'name')->textInput(['placeholder'=>"Ваше имя*", 'class'=>'input_st field-input required alphanumeric'])->label(false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment