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 / Issue with controls reset
Power Apps
Answered

Issue with controls reset

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I face the same problem noted in here https://powerusers.microsoft.com/t5/PowerApps-Forum/Reset-all-value-controls-in-a-multi-page-survey-after-the-survey/m-p/9094/highlight/true#M3993

 

I created a 5 page survey and at the end I want to save the info and reset all the controls in all pages to default state. There's a button at the end of the survey that goes back to page 1 and I've tried everything I could imagine to solve the reset issue.

 

I've tried setting the Reset Property on all controls to "Final_Button.Pressed" (without quotes) and also tried this:

 

    Collect(Signal, 0); Clear(Signal)

 

Bind the Reset properties of the relevant text input controls, etc, to:

   TextInput1.Reset = IsEmpty(Signal)

 

Funny thing is. Both methods work perfectly with the desktop editor but both fail when deployed to mobile (both tablet and smartphone). Is this a known issue? Any workaround available?

 

Cheers

Categories:
I have the same question (0)
  • Verified answer
    erga Profile Picture
    Microsoft Employee on at

    Hi @Anonymous

     

    Thank you for reporting this issue! The controls resest issue is known to us in the PowerApps team and will be fixed within our next few releases. The current workaround is to pass down a context variable using the Navigate(...) function from the previous screen, and then use that variable to Collect and Clear. 

     

    For example: Suppose you want to nagivate from Screen1 to Screen2 via Button1. Set Button1's "OnSelect" property to "Navigate(Screen2,Fade,{fromScreen1:true})". Then, on Screen2, set its "OnVisible" property to "If(fromScreen1, Collect(signal,{val:0});Clear(signal))". Repeat for your other screens. 

     

    Let us know if you have any further issues!

     

    Eric, Software Engineer, PowerApps Staff

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @erga

     

    Your tip worked perfectly with Rating control (the one with 5 stars) and it was reset to 3 as expected but the Radio (Button) lists on other screens didn't work.

     

    I set IsEmpty(signal) to the Reset property on all controls and Default is set to "" on Radios. Should do something different?

     

    Cheers,

    tim

  • murali Profile Picture
    Microsoft Employee on at

    The workaround will kick in only when you navigate to that screen. Is the radio button on a different screen than the rating control? If so, you need to include the same logic in the navigation to those screens as well.

     

    Hope this helps

     

    Murali

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @murali

     

    Yes, I did it like before, one workaround for each page (and yes, there's one Radio on each page). I used different variables (fromScreen2, fromScreen3, etc.) but apparently Radios are not resetting.

     

    Cheers,

    tim

  • erga Profile Picture
    Microsoft Employee on at

    To clarify, you are seeing the Rating control reset but not seeing the Radio control reset on the same screen?

     

    In addition to checking that the Reset property of all controls is set to "IsEmpty(signal)", please also verify that each screen's "OnVisible" property is appropriately set to "If([fromScreen#], Collect(signal,{val:0});Clear(signal))", where [fromScreen#] is the variable passed down from the previous screen. 

     

    If after all these steps your issue persists, please provide us a Session ID and we can investigate on our end.  

     

    Thanks,

    Eric, Software Engineer, PowerApps Staff

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Has this problem been fixed?  My thinking is that a control's value should reset by DEFAULT.  I'm not sure I understand the logic.

  • hpkeong Profile Picture
    2,944 on at

    Hi @erga @Anonymous

     

    From my experiene and also some ideas from PA Staff, one way is
    - Radio.Reset = var1

    - Rating.Reset = var1

    - xx.Reset = var1 (xx means any other properties you wish to reset)

     

    So when a button is clicked and navigate back to that specific screen, try to have

    - Screen.OnVisioble = UpdateContext({var1: false}); UpdateContext({var1: true})

     

    That should work.

    Can you try please?

     

    TQ

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @hpkeongyour code did not work. I have the exact same problem as the orignal poster.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @hpkeong, it didn't work... 😞

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Well, I actually got it to work following the powerapp team's guidance.

    The bad part is now 2 of the 4 answers are not sending to the database. I've combed over the differences between everything and haven't found the issue. If I were you, I'd check the powerapp recommendation again and follow it closely, 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

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard