Answer the question
In order to leave comments, you need to log in
Yii2: ActiveForm how to work with two models?
Good afternoon.
There is a form in which there are:
1. inputs, the data from which falls into the record in table1.
2. checkboxes, when selected (or not selected), records should be created (or deleted) in table2.
I really can't figure out how to do it.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Alternatively www.yiiframework.com/doc-2.0/guide-input-multiple-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question