HI,
I have 2 elements in a group:
element1 is dropdown having predefined values 1,2,3,4,5.
i have 5 lists with each list having list_type attribute which is having one of the value of element 1
list 1 : list_type = 1
list 2 : list_type = 2
list 3 : list_type = 3
list 4 : list_type = 4
list 5: list_type = 5
element 2 is a cascadingdropdown:
where under data tab, list is currently mapped to List1 and ID = id and value is name field from the list 1 table.
Watch element is element 1, which is having values from 1 to 5
Foriegn key is list_type from the list1 table.
-----------------------------------------------------------------
when i select the element 1 value as 1, i am able to see the available names in the list 1 as dropdown values in element 2.
i am trying to achieve this same behavior when i change element 1 to values 2,3,4,5. i.e. it should show corresponding list names in the element 2.
how can i achieve this? can i use eval to dynamically assign the list and value under data tab?
I have 2 elements in a group:
element1 is dropdown having predefined values 1,2,3,4,5.
i have 5 lists with each list having list_type attribute which is having one of the value of element 1
list 1 : list_type = 1
list 2 : list_type = 2
list 3 : list_type = 3
list 4 : list_type = 4
list 5: list_type = 5
element 2 is a cascadingdropdown:
where under data tab, list is currently mapped to List1 and ID = id and value is name field from the list 1 table.
Watch element is element 1, which is having values from 1 to 5
Foriegn key is list_type from the list1 table.
-----------------------------------------------------------------
when i select the element 1 value as 1, i am able to see the available names in the list 1 as dropdown values in element 2.
i am trying to achieve this same behavior when i change element 1 to values 2,3,4,5. i.e. it should show corresponding list names in the element 2.
how can i achieve this? can i use eval to dynamically assign the list and value under data tab?
Last edited: