Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Experimental Features
Answered

How do I keep the CheckboxCanvas value persistent across screens?

(0) ShareShare
ReportReport
Posted on by 482
Hi all,

how can I keep the value of my CheckboxCanvas persistent when navigating between screens, both forwards and backwards?
I can't get it to work with the new CheckboxCanvas — or am I using it incorrectly?
 
Regards,
dKayt
  • WarrenBelz Profile Picture
    148,745 Most Valuable Professional on at
    How do I keep the CheckboxCanvas value persistent across screens?
    Hi @dkayt,
    Using a Classic CheckBox, you just need to do this OnSelect of both
    Set(
        varVorGreen,
        Self.Value
    )
    and then the Default of both
    varVorGreen
    Modern controls still have a lot of bugs and really should not be used in prod apps presently. The code above should technically work on a Modern item, but my testing here indicates it does not.
  • dkayt Profile Picture
    482 on at
    How do I keep the CheckboxCanvas value persistent across screens?
     
    thanks for replying.

    I tried your first solution with the modern item, but unfortunately it didn't work as expected. But your recommendation to use the classic checkboxes worked perfectly! I'll mark your answer as the solution. 

  • Verified answer
    WarrenBelz Profile Picture
    148,745 Most Valuable Professional on at
    How do I keep the CheckboxCanvas value persistent across screens?
    Hi @dkayt,
    Do this on both checkboxes
     
    OnCheck
    Set(varVorGreen, true)
    OnUncheck
    Set(varVorGreen, false)
    Checked
    varVorGreen
    There is an easier way with Classic checkboxes, which you should consider switching to if you have inconsistencies with the Modern item.
     
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn    Buy me a coffee
  • dkayt Profile Picture
    482 on at
    How do I keep the CheckboxCanvas value persistent across screens?

    Hi @WarrenBelz,

    sorry for being unclear earlier.

    On Screen 1, I have two checkboxes (ckb1 and ckb2). I'm toggling between them, and I want the last selected value to persist when navigating to another screen and then coming back.

     
    Properties of ckb1: 
     
    Properties of ckb2
     
    I'm storing the value in a variable called varVroGreen, and I can see the correct value is being stored. However, it doesn't seem to update or trigger the checkboxes when I return to the screen.

    Let me know if you need more details.

  • WarrenBelz Profile Picture
    148,745 Most Valuable Professional on at
    How do I keep the CheckboxCanvas value persistent across screens?
    Hi @dkayt,
    A bit hard to respond on the information posted - where are these Check Boxes (in a Form?) and what is the Checked property of them ?

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Featured topics