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 Apps
Answered

Checkbox control

(0) ShareShare
ReportReport
Posted on by 125

In my app, I have two checkboxes on the different screens.

I want that if i select/check the one checkbox , the other one should checked automatically & vice versa if i checked 2nd one then 1st one should be automatically selected.

 

I did , i applied on the Default of 1st checkbox: if(checkbox1.Value=true, true).

 

It is working. But vice versa is not working. I am unable to put the same condition on 2nd checkbox default property [if(checkbox2.Value=true,true)]. Its giving error that circular link is not possible.

 

Please give answer if anyone aware.

Categories:
I have the same question (0)
  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Use a variable as an intermediate step, that stops it from being circular.

     

    So on your OnCheck for both of them, you set a variable that can be accessed by both

    Set(gblCheckboxesChecked, true);

    Then on the OnUnCheck for both of them you have:

    Set(gblCheckboxesChecked, false);

     

    Then make the Default value for both of them to be:

    gblCheckboxesChecked

     

    Now when you check/uncheck one, the other will mirror it and show the same 🙂

  • Verified answer
    Ali_sam Profile Picture
    125 on at

    Thanx @iAm_ManCat , it worked perfectly.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 421

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 278 Super User 2026 Season 1

Last 30 days Overall leaderboard