cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Hide a Button Until Gallery Inputs Are Filled

Hello All,

 

I am using a gallery to act as a checklist.  I want to hide the sheet complete check box until each gallery row is completed.  I have tried using If(IsBlank(CheckBox1 And Checkbox2),DisplayMode.Disabled, DisplayMode.Edit) but that either hides the button completely or never.  

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Hide a Button Until Gallery Inputs Are Filled

@ag12 

Like this...

If(CountRows(Filter(Gallery.AllItems, Checkbox_Complete.Value = true Or Checkbox_NotCollected.Value = true)=CountRows(Gallery.AllItems),DisplayMode.Edit, DisplayMode.Disabled)

 

---
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."

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Hide a Button Until Gallery Inputs Are Filled

@ag12 

Like this...

If(CountRows(Filter(Gallery.AllItems, Checkbox_Complete.Value = true Or Checkbox_NotCollected.Value = true)=CountRows(Gallery.AllItems),DisplayMode.Edit, DisplayMode.Disabled)

 

---
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."

View solution in original post

Highlighted
Helper I
Helper I

Re: Hide a Button Until Gallery Inputs Are Filled

That was a challenge for me.  Thank you greatly!

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (11,914)