I\'m having problem with CSRF Validation in yii2. The validation works fine with the default form generated by the gii but when I edit the form with html tags then the form
I guess, your html form doesn't have hidden _csrf field, which is automatically generated by standard Yii2 widgets.
_csrf
So the minimum code of your custom form might be like this:
Save