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 value for Choic...
Power Apps
Answered

Change value for Choice field when checkbox selected

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a checkbox control added to my form that has the text "Send for Marketing Review"

 

When I check the box, I want this to update my Status field (Choice field, single select) from "New" to "Marketing Review"

 

If I uncheck the box, I want this to change the Choice dropdown back to its original value ("New")

 

I've been playing around with the OnCheck and OnUncheck functions, Status.Value = "Marketing Review" and a few other things but can not get this to update the Status.

 

Any thoughts?

Categories:
  • Verified answer
    jhall Profile Picture
    636 on at

    You cannot set a value of a control directly within PowerApps. It's annoying, but you get used to it.

    It's a two step process:

    • Set a Variable during the OnSelect event of your CheckBox's
      • UpdateContext({myListBoxDefault="New"})
      • UpdateContext({myListBoxDefault="Marketing Review"})
    • Change your List control (I am assuming that's what you're using) to set the Default value to be that variable's value

    image.png

    NOTE: Depending upon your destination control (ListBox in your case) values, you might also need to initialize the variable to the default you would like during your screen's OnVisible event.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard