Add data to two tables from one form

I have 3 tables employees, departments and employee_departments I did it this way because it created a cyclic dependency with just 2 tables, now let's say I have departments created in the department table and now am adding an employee I want add the entry for the employee_department table at the same time from a second section in the forms wizard, but can someone tell me how to properly configure this? or at least a link to a documentation.
Screenshot_2023-10-02_163127.png
Screenshot_2023-10-02_163140.png
Screenshot_2023-10-02_163156.png
Was this page helpful?