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 / Clean Text Inputs ever...
Power Apps
Answered

Clean Text Inputs every time I use the app again

(0) ShareShare
ReportReport
Posted on by 43

Good morning, how you all doing?!
I'm trying to build an app on PowerApps and I finally did the login page, but I don't know how to reset the text inputs after I once used it. Because, every time I play the app my login and password still ther. How can I change this?

 

I'm really grateful for the attention!

Captura de Tela (12).png
Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @LuccaGiffoni 

    Consider putting the following in your OnVisible action of your screen:

       Reset(TextInput1); Reset(TestInput2)

     

    I hope this is helpful for you.

  • LuccaGiffoni Profile Picture
    43 on at

    @RandyHayes That was almost the perfect solution!

    It solved the problem of the fixed logins but as a consequence I could not login because when I click on "login", it erase all the login data and I cannot login.

     

    Do you know any other way?

    Thanks!

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

    @LuccaGiffoni 

    Where did you put the formula I provided?

    It should have been on the OnVisible action of the screen.

    The controls would ONLY be reset if returning to that login screen (i.e. a fresh login).

     

     

  • LuccaGiffoni Profile Picture
    43 on at

    @RandyHayes That's true. 

    But on Input Boxes the option "OnVisible" does not exist...

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

    @LuccaGiffoni 

    The screen...not the TextInput controls.

    Your screen has an OnVisible action...that is where you need to put the formula.

    Click on your screen name in the left tree navigation, then

    RandyHayes_0-1614284726822.png

    Put the formula in 3

  • LuccaGiffoni Profile Picture
    43 on at

    @RandyHayes It worked perfectly!

    Thanks!

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

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard