My problem is that I have two forms and I have them in different bootstrap tabs. These two forms are useful for generating a record in the database but two different tables. However, I have to validate both forms in one controller because the second table I am going to register in the database depends on the data of the first form. (I have only one button to send on the form 2)
Both forms must be sent with one button.