joit
Active Member
Shure, I have this element cargo___cargo_details. When set to 8 (Umzugsgut) it should show the
groups 104, 94, 95, 96
and the tabs 2, 3, 4, 5, 6
and it should hide the
group 72
and the tab 2.
When not set 8 it should work vice versa. All this should be done on load and on change.
I have tried to do this via js code in the element itself and by putting it in files here
150401/components/com_fabrik/js/details_19.js
150401/components/com_fabrik/js/form_19.js
but it didn't help.
Now if you load the details for an element like this (cargo___cargo_details = 8)
150401/index.php/ladung/details/19/197
all elements in the concerning groups are hidden!
EDIT:
funnily it works for an element like this (cargo___cargo_details <> 8)
/150401/index.php/ladung/details/19/195
groups 104, 94, 95, 96
and the tabs 2, 3, 4, 5, 6
and it should hide the
group 72
and the tab 2.
When not set 8 it should work vice versa. All this should be done on load and on change.
I have tried to do this via js code in the element itself and by putting it in files here
150401/components/com_fabrik/js/details_19.js
150401/components/com_fabrik/js/form_19.js
but it didn't help.
Now if you load the details for an element like this (cargo___cargo_details = 8)
150401/index.php/ladung/details/19/197
all elements in the concerning groups are hidden!
EDIT:
funnily it works for an element like this (cargo___cargo_details <> 8)
/150401/index.php/ladung/details/19/195
Last edited: