Passing an array to a DropDown in a logic

Hi People
I want to set some Logics in a Form.
I have two Dropdpwn components Brands and Cars.
I want to implement these logic:
-If Dropdown “Brands”= “Toyota” ====> Dropdown2 “cars”=[“Prius”,“Yaris”,“Camry”]; and so on…

I tried to work with Javascrip, but I couldn’t have the array in Dropdown2 I see only the last Item “Camry” in this case and I can’t swith between the choices?Form_Test - Copy (1).xaml (9.4 KB)
Any Idea?


Form_Test - Copy (1).xaml (9.5 KB)

1 Like

@Tamilselvan
Thank you so much for your help and efforts.
It didn’t work unfortunately:

It works thank you so much.
The Problem was only in the Conditions I wrote the words in Capital letter and it worked.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.