tklustig
(Kipp Thomas)
1
An actual version of this problem can be found here
leonenco
(Leonenco)
2
Did you tryed to add JS code to submit both forms?
tklustig
(Kipp Thomas)
3
No. All code being involved has been shown up!
softark
(Softark)
4
A general help is the following section of the guide:
Guide > Getting Data from Users > Getting Data for Multiple Models
http://www.yiiframework.com/doc-2.0/guide-input-multiple-models.html
The opening "<?=" in the first line seems to have the corresponding closing "?>" in the wrong place.
BTW, you have to try to write a well formatted code.
Reading a bad formatted code is a torture to me. 
tklustig
(Kipp Thomas)
5
Guide u noticed 'caused problems in another way(see this). So, this thread is obsolet by now!