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 / Reset Combox outside t...
Power Apps
Answered

Reset Combox outside the form

(0) ShareShare
ReportReport
Posted on by 314

I have a button outside the form and need to reset one combox inside the form.  But, it looks reset function need to be inside the form.  Is any other way, still able to do out side the form?

Thanks!

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @usaman45 

    One quick way - set the Reset property of the Combobox in the form to : yourButtonName.Pressed

     

    I hope this is helpful for you.

  • usaman45 Profile Picture
    314 on at

    Thanks, but need this outside the form.

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @usaman45 

    Exactly -  set the Reset property of the Combobox in the form to : yourButtonName.Pressed

     

    Your Combobox is inside the form and the button is outside of the form.

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @usaman45 

    Did you give this a try?  It works perfectly!

  • usaman45 Profile Picture
    314 on at

    Thanks, but I get one issue, anyway to wait button's onselect() function finish then reset it?

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @usaman45 

    Yes, to do that, you will need to move to a variable.

    Ex.

        UpdateContext({lclResetCombo:false});

        yourexistingOnSelectFormula;

        UpdateContext({lclResetCombo:true})

     

    Now set the Combobox Reset property to lclResetCombo

     

     

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 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard