cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
biancadevera
Helper III
Helper III

Require data card when any checkbox in gallery not checked

I created checkboxes within a gallery. I would like to require a dropdown whenever nothing was selected in the gallery checkbox. How can this be done?

3 REPLIES 3
biancadevera
Helper III
Helper III

Please help @WarrenBelz @RandyHayes @BCBuizer 

BCBuizer
Super User
Super User

Hi @biancadevera ,

 

Can you please elaborate a bit on what the desired behaviour of the app is? What happens when a checkbox is selected? What is the dropdown supposed to do if no Checkboxes have been selected?



Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.
v-yujincui-msft
Community Support
Community Support

Hi @biancadevera ,

 

If you want to control the visibility of the Drop Down Control based on whether the Checkbox is checked, maybe you could try to select the Drop Down Control and apply the following formula on its Visible property as:

!Checkbox1.Value

Result Screenshot:

vyujincuimsft_0-1650351640393.png

 

In addition, if you want to show Drop Down Control when any checkbox in gallery is unchecked, maybe you could try to select the Drop Down Control and apply the following formula on its Visible property as:

If(CountRows(Filter(Gallery3.AllItems, Checkbox1.Value=true))=0,true,false)

Result Screenshots:

vyujincuimsft_3-1650353870668.png

 

vyujincuimsft_4-1650353889994.png

 

 

 

 

Best Regards,

Charlie Choi

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,640)