web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Uncheck/check a checkbox
Power Apps
Unanswered

Uncheck/check a checkbox

(0) ShareShare
ReportReport
Posted on by 302

Hello there!

As the title states, I want to uncheck/check a checkbox by not using the Set or UpdateContext.

How can I do that? There must be a way to somehow set the current state of the checkbox to the opposite. I have quite a large code in there, so that's why I do not want to use Set or UpdateContext. It will make my code more clear

Thanks in advance!

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @efeewfew 

    How are you planning on controlling the checkbox?  Ie. is it based on a button press or the presence of data in another control, or something else?

  • efeewfew Profile Picture
    302 on at

    Thank you for your message @Drrickryp 

    I have 2 checkboxes, if the first one is selected, the second one CAN NOT be checked at the same time. So if the first one is selected, and then the second one. The first one gets unselected again.

    Currently in the default I am using a lookup for true/false in my database. And in the uncheck/check I have an updateif method

    This works, but it's reaaally slow

  • Khaledta Profile Picture
    79 on at

    Hi,

     

    Why don't  you use Radio button instead ?

     

    Khaledta_0-1626247011278.png

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard