Hi,
I’m trying to manipulate two select widgets in a repeat container using the UI Designer in Bonita BPM 7.8.3. The behaviour that I want to implement is:
-
In the first select widget I choose a country from a list stored in a variable.
-
Based on the value of the country, I want to load in the second select widget the states of that country . I’m trying to use a Javascript Expression to implement it, but I can not access to contextual variables (e.g.: $collection, $item, $index) in the Javascript Expression (I can only access to $data).
Could anyone tell me how could I access to this variables or if it’s another way to implement it?
Thanks.