JoomlaAddict
Member
I have a form set up with several groups of cascading dropdowns. The overall structure looks like this:
Group 1:
- Element 1 = DB Join
- Element 2 = Cascading Drop Down, watches Element 1
- Element 3 = Cascading Drop Down, watches Element 2
Group 2:
- Element 4 = Cascading Drop Down, watches Element 3
- Element 5 = Cascading Drop Down, watches Element 3
- Element 6 = Cascading Drop Down, watches Element 3 (hidden)
- Element 7 = DB Join
I want the options presented in element 7 to be refined by the data from Element 6. The data scheme is set up in a way that there will be only one available option in element 6, so it should auto select.
I think I've got all this set up correctly, but Element 7 never populates any data with the following Where clause: thistable.{table's field} = '{form___element_name}'
If I remove the where clause, Element 7 populates with unfiltered data. I checked the DB and it looks like Fabrik made a new table when I created the second DB Join, but I'm not sure what it's used for. The naming convention for this new table looks like this: "formname___repeat__element_name"
Any idea on what's going on? I'm not sure how to trouble shoot this further.
Group 1:
- Element 1 = DB Join
- Element 2 = Cascading Drop Down, watches Element 1
- Element 3 = Cascading Drop Down, watches Element 2
Group 2:
- Element 4 = Cascading Drop Down, watches Element 3
- Element 5 = Cascading Drop Down, watches Element 3
- Element 6 = Cascading Drop Down, watches Element 3 (hidden)
- Element 7 = DB Join
I want the options presented in element 7 to be refined by the data from Element 6. The data scheme is set up in a way that there will be only one available option in element 6, so it should auto select.
I think I've got all this set up correctly, but Element 7 never populates any data with the following Where clause: thistable.{table's field} = '{form___element_name}'
If I remove the where clause, Element 7 populates with unfiltered data. I checked the DB and it looks like Fabrik made a new table when I created the second DB Join, but I'm not sure what it's used for. The naming convention for this new table looks like this: "formname___repeat__element_name"
Any idea on what's going on? I'm not sure how to trouble shoot this further.