Answer the question
In order to leave comments, you need to log in
Why is the form's submit method called like folder for controller views (YII2)?
Hello, just today I started to study yii2, everything seemed to be normal at first, I set it up without problems, created a controller, created a view, I load all the rules in the view controller. Began to create the form, like I do everything as in docks. Here is the form:
<div class="form-wrap">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput(['placeholder'=>'Имя'])->label(false); ?>
<?= $form->field($model, 'email')->textInput(['placeholder'=>'email'])->label(false); ?>
<?= $form->field($model, 'text')->textarea(['placeholder'=>'Ваше сообщение', 'rows' => '6'])->label(false); ?>
<?= HTMl::submitButton('Отправить', ['class'=>'btn btn-primary'])?>
<?php ActiveForm::end(); ?>
</div>
Answer the question
In order to leave comments, you need to log in
Try other USB connectors.
A ps/2 keyboard from a flea market is the easiest and most RELIABLE way.
In second place in terms of simplicity is this marvel of engineering:
It's called a "usb to ps/2 adapter" and costs less than a dollar.
Keyboard (USB) starts working only after loading Windows
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question