Here is the problematic situation : In a form, in order to update a record, I use three different models from another table. But these models are all from the same table.
So when I submit my form, in my $_POST I have only one model info in the POST array corresponding to the table instead of 3… Submittion takes only the last record edit in form. Indeed I edit the same key name for the models…
I don’t really know how to collect the multiple model info which corresponds to the same key but for different models.
Well, a solution should be to create public variables in the table activeRecord of my 3 models then edit and hand out the variables to the 3 models before to save them…