Hi, I need some help with Cascading Dropdowns. I am using Joomla 3.0.3 with Fabrik 3.1b - Updated from GitHub on 9th March.
I have 3 tables with the following structure
Table 1: KM_Call_Type
Plugin: Field
Name: CT
Label: Call Type
Primary Key: ID
Table 2: KM_Call_Sub_Type
Plugin: Database Join
Table: KM_Call_Type
Value: CT
Label: Call Type
Plugin: Field
Name: CST
Label: Call Sub Type
Primary Key: ID
Table 3: KM_Call_Sub-Sub_Type
Plugin: Database Join
Table: KM_Call_Type
Value: CT
Label: Call Type
Plugin: Cascading Dropdown
Render as: Dropdown
List: KM_Call_Sub_Type
ID: Call Sub Type
Label: Call Sub Type
Watch Element: Call Type
Foreign Key: Call Type
Primary Key: ID
While I do not have problems with the database join element, the cascading dropdown does not seem to work. It just shows the default "Please Select" and the dropdown is not populated.
I have been through the tutorial, wiki as well as other threads however I am not being able to figure out where I am messing up! Please help.
I found one more interesting thing. The cascading dropdown works while editing a pre-existing record but that too somewhat.
What I mean is if a particular call type has been selected while creating a new record and the sub call type left blank (as the CDD does not work), then when I edit the record later, the cascading dropdown shows me sub call type options for the relevant call type however if I change the call type, even in edit mode, the cascading dropdown does not update the options for the relevant call type.
I know this is probably too trivial for most of the seasoned users however I humbly request for help.
I have 3 tables with the following structure
Table 1: KM_Call_Type
Plugin: Field
Name: CT
Label: Call Type
Primary Key: ID
Table 2: KM_Call_Sub_Type
Plugin: Database Join
Table: KM_Call_Type
Value: CT
Label: Call Type
Plugin: Field
Name: CST
Label: Call Sub Type
Primary Key: ID
Table 3: KM_Call_Sub-Sub_Type
Plugin: Database Join
Table: KM_Call_Type
Value: CT
Label: Call Type
Plugin: Cascading Dropdown
Render as: Dropdown
List: KM_Call_Sub_Type
ID: Call Sub Type
Label: Call Sub Type
Watch Element: Call Type
Foreign Key: Call Type
Primary Key: ID
While I do not have problems with the database join element, the cascading dropdown does not seem to work. It just shows the default "Please Select" and the dropdown is not populated.
I have been through the tutorial, wiki as well as other threads however I am not being able to figure out where I am messing up! Please help.
I found one more interesting thing. The cascading dropdown works while editing a pre-existing record but that too somewhat.
What I mean is if a particular call type has been selected while creating a new record and the sub call type left blank (as the CDD does not work), then when I edit the record later, the cascading dropdown shows me sub call type options for the relevant call type however if I change the call type, even in edit mode, the cascading dropdown does not update the options for the relevant call type.
I know this is probably too trivial for most of the seasoned users however I humbly request for help.