Answer the question
In order to leave comments, you need to log in
How to load forms via ajax in YII2?
Hello!
There is a registration form on the site, after successfully submitting the data, it is necessary to display the authorization form without reloading the page.
Please help me understand the principle of how, after processing a form, load another without reloading.
Answer the question
In order to leave comments, you need to log in
Google yii2 pjax submit. For example, here is one of the first nix-tips.ru/yii2-primeryaem-pjax-na-activeform-ig...
It's easier to use jquery for this. One form was hidden, the other was shown.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question