Answer the question
In order to leave comments, you need to log in
How to specify the address (action) for the form in the view file in yii2 using yii\widgets\ActiveForm?
If you create a form using the yii\widgets\ActiveForm methods
<? $form = ActiveForm::begin(['id' => 'search-form']); ?>
, then its action is equal to the current page address. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question