Hello,
I'm trying to get to work two dropdowns according to this FAQ (https://www.chronoengine.com/faqs/70-cfv5/5232-how-do-i-build-a-dynamic-drop-down-in-cfv5.html).
If I create simple form with with container and two dropdowns everything works OK.
Then I move these fields into Multiplier container then "Set option" event in the first dropdown not setting options for another dropdown and I can't find there the mistake is.
Multiplier container setup:
Replacer:__N__;Counter:1;Hide first:No;Disable first:No;Hide buttons:No;Start count:1;Data path:laud.
The first dropdown configuration:
Field name:laud[__N__][dropdown19],
ID:laud__N__dropdown19.
dropdown values:
1=Vali...
2=Välisvoodrilaud
3=Sisevoodrilaud
The second dropdown:
Field name:laud[__N__][dropdown20],
ID:laud__N__dropdown20.
Event configuration for the first dropdown:
If value=2 ; Set Options ; laud__N__dropdown20; valik=Välisvoodrilaud
If value=3 ; Set Options ; laud__N__dropdown20; valik=Sisevoodrilaud
I'm trying to get to work two dropdowns according to this FAQ (https://www.chronoengine.com/faqs/70-cfv5/5232-how-do-i-build-a-dynamic-drop-down-in-cfv5.html).
If I create simple form with with container and two dropdowns everything works OK.
Then I move these fields into Multiplier container then "Set option" event in the first dropdown not setting options for another dropdown and I can't find there the mistake is.
Multiplier container setup:
Replacer:__N__;Counter:1;Hide first:No;Disable first:No;Hide buttons:No;Start count:1;Data path:laud.
The first dropdown configuration:
Field name:laud[__N__][dropdown19],
ID:laud__N__dropdown19.
dropdown values:
1=Vali...
2=Välisvoodrilaud
3=Sisevoodrilaud
The second dropdown:
Field name:laud[__N__][dropdown20],
ID:laud__N__dropdown20.
Event configuration for the first dropdown:
If value=2 ; Set Options ; laud__N__dropdown20; valik=Välisvoodrilaud
If value=3 ; Set Options ; laud__N__dropdown20; valik=Sisevoodrilaud