Hello,
I want a form that create a "Feuille de jour" based on dropdownlist from other models.
In fact, I have 4 tables that are linked by id : the table "Feuille de jour" have the id from the tables "poste FDJ", "categorie FDJ" and "personnel".
When I create a "Feuille de jour", I want to be able to select (in a dropdown list) the name of a "poste FDJ", a "categorie FDJ" and a "personnel" and when I submit the form, it save the id of each name.
I know it's possible to save multiple model in one form, I supposed that I can start on this but it doesn't work. Can someone help me