Answer the question
In order to leave comments, you need to log in
How to place 2 ActiveForm forms on one page that will refer to different actions?
There is a view. It has two forms. I'm trying to write for one:
$form = ActiveForm::begin(['action'=>['/auth/login']]);
$form = ActiveForm::begin(['action'=>['/auth/register']]);
public $enableCsrfValidation = false;
Answer the question
In order to leave comments, you need to log in
public $enableCsrfValidation = false;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question