by John Robin Dove » Wed Feb 26, 2020 10:52 am
Not sure just the code will tell you much. I'll try and make a test app but it's a bit complicated. Here's the code:
<function name="myTrigger" event="trigger" params="">
<![CDATA[
if (sharedActions.myArray[7] == 1)
{
tbfunction_pgGotoURL("pad", "/programs/CKE/pad/pad2.html?config=configFR&color=#40BEFE", "", "", "", "", "", "", true, false, "");
}
else if (sharedActions.myArray[7] == 2)
{
tbfunction_pgGotoURL("pad", "/programs/CKE/pad/pad2.html?config=configEN&color=#40BEFE", "", "", "", "", "", "", true, false, "");
}
else if (sharedActions.myArray[7] == 3)
{
tbfunction_pgGotoURL("pad", "/programs/CKE/pad/pad2.html?config=configIT&color=#40BEFE", "", "", "", "", "", "", true, false, "");
}
else if (sharedActions.myArray[7] == 4)
{
tbfunction_pgGotoURL("pad", "/programs/CKE/pad/pad2.html?config=configES&color=#40BEFE", "", "", "", "", "", "", true, false, "");
}
else if (sharedActions.myArray[7] == 5)
{
tbfunction_pgGotoURL("pad", "/programs/CKE/pad/pad2.html?config=configDE&color=#40BEFE", "", "", "", "", "", "", true, false, "");
}
]]>
</function>
To test this I have replaced the field name "pad" with another field name and then there is no problem. The field named "pad" is part of a complex draggable group.