cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
efeewfew
Resolver I
Resolver I

Uncheck/check a checkbox

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!

3 REPLIES 3
Drrickryp
Super User
Super User

@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?

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
Advocate I
Advocate I

Hi,

 

Why don't  you use Radio button instead ?

 

Khaledta_0-1626247011278.png

 

 

 

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.

Top Solution Authors
Top Kudoed Authors
Users online (1,550)