Yii2 :: Forms -> Working with ActiveForm via JavaScript
PHP side of ActiveForm, which is usually more than enough for majority of projects, is described well in the official Yii 2.0 guide (http://www.yiiframework.com/doc-2.0/guide-input-forms.html). It is getting a bit trickier when it comes to advanced things such as adding or removing form fields dynamically or triggering individual field validation using unusual conditions. In this recipe … Read more