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 / Resetting Checkbox Con...
Power Apps
Answered

Resetting Checkbox Control

(1) ShareShare
ReportReport
Posted on by 46

I've created a landing page that makes users agree to some Terms and Conditions before they navigate to the next page. Each checkbox has the following action set for OnCheck and OnUnCheck:

 

Oncheck = UpdateContext({Checkbox1:true})

OnUnCheck = UpdateContext({Checkbox1:false})

 

Additionally, I have a button that I've set the visible condition to the following: If(And(Checkbox1=true, Checkbox2=true, Checkbox3=true), true, false)

 

I would like the Checkbox control to reset to false (Unchecked) any time the screen is accessed. So if the user proceeds and then goes back the boxes are unchecked and the button is not showing. I've tried several things and I just cannot seem to get it right. Any help or insight anyone could provide would be greatly appreciated.

 

 

Submit.png
Powerapp TOC.png
CheckboxControl.png
Categories:
I have the same question (0)
  • Verified answer
    K-A-R-L Profile Picture
    715 on at

    Hi @voglejm,


    Please watch this video.


    On your OnVisible Property:
    UpdateContext({Checkbox1:false});
    UpdateContext({Checkbox2:false});
    UpdateContext({Checkbox3:false})

    Set the Default of each Checkbox to:

     Checkbox1 Default Property: Checkbox1
    Checkbox2 Default Property: Checkbox2
    Checkbox3 Default Property: Checkbox3

    Cheers

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @voglejm ,

    Do you want to reset the three Checkboxes when current screen is visible?

     

    Based on the needs that you mentioned, I have made a test on my side, please take a try with the following workaround:4.JPG

     

    5.JPG

     

    6.JPG

    Set the OnVisible property of the current screen which contains three Checkboxes to following:

    UpdateContext({Checkbox1Value:false, Checkbox2Value: false, Checkbox3Value: false})

     

    Set the Default property of the Checkbox1 to following:

    Checkbox1Value

    Set the OnCheck property to following:

    UpdateContext({Checkbox1Value: true})

    Set the OnUncheck property to following:

    UpdateContext({Checkbox1Value: false})

    Set the Default property of the Checkbox2 to following:

    Checkbox2Value

    Set the OnCheck property to following:

    UpdateContext({Checkbox2Value: true})

    Set the OnUncheck property to following:

    UpdateContext({Checkbox2Value: false})

     

    Set the Default property of the Checkbox3 to following:

    Checkbox3Value

    Set the OnCheck property to following:

    UpdateContext({Checkbox3Value: true})

    Set the OnUncheck property to following:

    UpdateContext({Checkbox3Value: false})

     

    Set the Visible property of the "Navigate" button to following:

    If(Checkbox1Value= true && Checkbox2Value=true && Checkbox3Value=true, true, false)

    Please check the following GIF screenshot for more details:Test.gif

     

     

     

    Best regards,

  • voglejm Profile Picture
    46 on at

    @K-A-R-L  

     

    Thank you so much for the help on this. I was almost there but you helped me get to the finish line.

     

    -Justin

  • voglejm Profile Picture
    46 on at

    @v-xida-msft 

     

    Thanks for the help. You guys are the best. 

     

    -Justin

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 339 Most Valuable Professional

#2
11manish Profile Picture

11manish 180

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard