title: Yii2 Advanced Displaying and Saving fields of two tables in one form
body: <p>How can I Display fields of different Tables in one form and saving it at once in the database...The scenario is when i get a new form to fill up, this two tables will merge in the same FORM and probably save at the same time. The second problem is, "id"(PK) of "form" will generate number incrementally after saving. Question is how can i copy the value of "id"(PK) in "form" to "forminfo_info"(FK) while saving... Please need assistance on this..</p>
  
  <p><a href="https://i.stack.imgur.com/e0psB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e0psB.jpg" alt="enter image description here"></a></p>