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

How to disable/Uncheck rest CheckBoxes

Hi Team,

 

I creating multiple checkbox on the screen and i want to users can select one check at a time and remaining should be uncheck.

 

FYI...My data is not following through Gallery/Sharepoint.  

5 REPLIES 5
RandyHayes
Super User
Super User

@aayaanmayank 

Firstly, I would suggest using a Radio control instead of checkboxes as that will provide the functionality you want.

Otherwise, you will need to check the conditions of all the remaining checkboxes in your Default and/or DisplayMode properties in order to achieve what you want.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
aayaanmayank
Helper III
Helper III

Thanks for your view however Radio Button is not solving my purpose.

 

RandyHayes
Super User
Super User

@aayaanmayank 

Then you will need to implement the following logic in all your checkbox controls.

Example: CheckBox1, CheckBox2 and CheckBox3

 

First, the Default properties should all be false.

Next, in the OnCheck property of each control, you will add the following formula:

Checkbox1:

Reset(CheckBox2); Reset(CheckBox3)

Checkbox2:

Reset(CheckBox1); Reset(CheckBox3)

Checkbox3:

Reset(CheckBox1); Reset(CheckBox2)
_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
Ricardo_Costa
Resolver I
Resolver I

can you share your solution, like screen shots. I did understand your issue.

 

if you have 3 checkbox in the screen and you check the first one, the other 2 remain unchecked unless the user check it.  So do you want the remain do be just unchecked with a possibility of being checked or do you want the remains to be desabled?

 

Thanks @RandyHayes  i was using checkbox7.value and bec of this i was not able to achieve.

Thanks a ton.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,447)