Hi all,
I am trying to hope a combo box where depending on your selection, different data cards will appear. For example, my combo box will have 'Item 1', 'Item 2' and 'Item 3'. If I choose 'Item 1', then only Textbox_1 will appear. If I choose 'Item 1' and 'Item 3' in the combo box, then Textbox_1 and Textbox_3 will appear.
I have tried going to each textbox data card, and under Visible putting If("Item" In ComboBox1.Selected.Value, true, false) and this works. However, it will only display the textbox for the last item selected in the combo box. For example, I selected 'Item 1' first and then 'Item 3' second, only Textbox_3 will appear. If I select 'Item 2' first and then 'Item 1', only Textbox_1 will appear.
How can I make it so data cards will become visible depending what is selected in the combo box? Hopefully this makes sense. Thanks!
Solved! Go to Solution.
Hi @ljgeorge ,
You can Use Like Below .
You need to set the visibility for every text box based on your condition.
Another thing is Allow Multislelect Option should be true for the Combobox.
See the reference -
Set the visibility for all textboxes like below.
If("Item1" in ComboBox2.SelectedItems.ItemName,true,false)
Reference -
Thanks,
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Hi @ljgeorge ,
You can Use Like Below .
You need to set the visibility for every text box based on your condition.
Another thing is Allow Multislelect Option should be true for the Combobox.
See the reference -
Set the visibility for all textboxes like below.
If("Item1" in ComboBox2.SelectedItems.ItemName,true,false)
Reference -
Thanks,
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Got it to work. Thanks!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
164 | |
94 | |
64 | |
63 | |
61 |
User | Count |
---|---|
234 | |
162 | |
95 | |
83 | |
81 |