cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Activate a button with a checkbox.

I would like to have a checkbox that when checked will make a button labled "Continue" will become active. But it will only be active when I click in the checkbox.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi,

 

You should be able to make it by configuring the Button DisplayMode with the formula below:

If(Checkbox1.Value=true,Edit,Disabled)

Reference:

53.PNG

 

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
Super User
Super User

You want to set the visible property of the button to be true if the checkbox is checked. Look at this video on PowerApps conditional formatting, it should help you with the concept. 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
Community Support
Community Support

Hi,

 

You should be able to make it by configuring the Button DisplayMode with the formula below:

If(Checkbox1.Value=true,Edit,Disabled)

Reference:

53.PNG

 

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Michael, you are awesome this works!

I have a similar situation as above, however the provided solution has not worked. I have a single checkbox (Checkbox1) duplicated for each of 76 listings.

I have been able to disable the Request Selected button (Button2) if (Checkbox1) is not selected (see image1).

If I select one or more listings, (Button2) is enabled and which is great (see image2).

The issue is that, when I dis-select one of the checkbox listings from image2, (Button2) goes back to disabled, even though other checkboxes are still selected which shouldn't happen.

Below is the DisplayMode formula I have for (Button2):

 

DisplayMode: If(And(Checkbox1.Value<>false), edit, disabled)

How would you do this when 10 checkboxes need to be checked?

How would you do this if you only want 10 boxes selected and you have a large number of checkboxes?

How do you do this when you need to select 10 checkboxes for the button to become active?

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (41,358)