mariluzrm
Member
Hello,
How can I do the following: I have a table in my database of Components and each component has one or several Elements_Types.
So I have 3 tables: Components (Entity), Element_Types (Entity), and Component_ElementsTypes (Relationship between the two previous tables).
I would like a form for each component in which the Elements_Types are checkboxes, and only those indicated in the 'Component_ElementsTypes' table are checked.
I know it could be done with a databasejoin, and a field would be created in the Components table called 'Element_Types' of type Text, and it would be filled in as ['1', '3', '10', '31']. But I don't want this; I want checkboxes while still using the intermediate table 'Component_Elements'.
Is this possible?
Thank you
How can I do the following: I have a table in my database of Components and each component has one or several Elements_Types.
So I have 3 tables: Components (Entity), Element_Types (Entity), and Component_ElementsTypes (Relationship between the two previous tables).
I would like a form for each component in which the Elements_Types are checkboxes, and only those indicated in the 'Component_ElementsTypes' table are checked.
I know it could be done with a databasejoin, and a field would be created in the Components table called 'Element_Types' of type Text, and it would be filled in as ['1', '3', '10', '31']. But I don't want this; I want checkboxes while still using the intermediate table 'Component_Elements'.
Is this possible?
Thank you