Hello,
First Thanks for this awesome tool !
I wanna how to handle a relation between 3 tables ?
for example I have :
tables:
- product
- category
- sub category
relational rules:
- a category can have 0 or n sub categories
- a sub category is only part of one category
- a product can be part of one a sub category (and then it is automatically part of the category of the that sub category)
- a product can be part of one category (sub category not required)
product(product_id, name,..., category_id, subcategory_id)
category(category_id, name,...)
subcategory(subcategory_id, name,...,category_id)
So the problem that I'm facing is on the ADD/Edit forms which is:
the displayed subcategories are not related to the selected category, all subcategories are displayed.
Is there any way to set this rule?
Thanks in advance !