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 / When going back from o...
Power Apps
Answered

When going back from one screen to another, the first one turn it blank

(2) ShareShare
ReportReport
Posted on by 943 Season of Giving Solutions 2025
Hi!
 
I have an APP with 2 screens, the first one you have to fulfill some text labels and when you click a button it sends you to another screen with the reservation and information you wrote in the first screen.
 
So when you click in a button to turn back to the main screen, I would like that all of the labels are blank again like if the APP has just start playing.
 
What should I add in that button to go back to the main screen with blank labels?
 
Thanks!!
Categories:
I have the same question (0)
  • Verified answer
    11manish Profile Picture
    3,333 on at
    To clear all fields when navigating back to the main screen, you should use the Reset() function on each input control in the button’s OnSelect property, or use ResetForm() if you’re using a form.
     
    This resets controls to their default values, making the screen appear as if the app has just started.
  • Vish WR Profile Picture
    3,748 on at

    ResetForm(<FORMNAME>); 
    Navigate(Screen1, ScreenTransition.None)

  • Verified answer
    Valantis Profile Picture
    6,735 on at
     
    In the OnSelect of your back button, reset each input control before navigating back:

    Reset(TextInput1); Reset(TextInput2); Navigate(Screen1)

    If you have many inputs, you can also use ResetForm() if they are inside a form, or set variables to empty strings if your labels are bound to variables:

    Set(varName, ""); Set(varName2, ""); Navigate(Screen1)

    Which approach to use depends on whether your inputs are Text Input controls, a Form, or labels bound to variables. Which one are you using?
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard