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 / Change CheckBox Value
Power Apps
Answered

Change CheckBox Value

(0) ShareShare
ReportReport
Posted on by 25

Hello,

 

I'm trying to change change checkbox value from false to true with OnChange property of TextInput box. Below is My Current Formula. 

 

For Screen On visible: UpdateContext({ResetTo:false})

For TextInput OnChange: Set(ResetTo,true)

For CheckBox Default Value: ResetTo

 

But some how I'm missing something. 

 

Any thoughts 

 

Thanks,

O360

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,016 Most Valuable Professional on at

    You are mixing global and context variables.  Stick to either UpdateContext() or Set() but you can't use them interchangeably since they access different variables.

  • Omkar360 Profile Picture
    25 on at

    Hi @Pstork1 ,

     

    And How do we do that? I'm new to this platform. 

     

    Thanks,

    O360

  • Verified answer
    Pstork1 Profile Picture
    69,016 Most Valuable Professional on at

    For Screen On visible: UpdateContext({ResetTo:false})

    For TextInput OnChange: Set(ResetTo,true)

     

    Either switch Screen OnVisible to: Set(RestTo, false)

    or Set TextInput OnChange to: UpdateContext({ResetTo:true})

     

    You are using the same name for two different kinds of variables. Either should work, but you can't use the same name for different types of variables.  Pick one.

  • Omkar360 Profile Picture
    25 on at

    Hi @Pstork1 ,

     

    It works. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard