Repeat containter

Manipulate elements of repeat container using Javascript

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:

  1. In the first select widget I choose a country from a list stored in a variable.

  2. 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).

Notifications