cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LuccaGiffoni
Helper I
Helper I

Clean Text Inputs every time I use the app again

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!

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User III
Super User III

@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

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

View solution in original post

6 REPLIES 6
RandyHayes
Super User III
Super User III

@LuccaGiffoni 

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

   Reset(TextInput1); Reset(TestInput2)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes
LuccaGiffoni
Helper I
Helper I

@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
Super User III
Super User III

@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).

 

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes
LuccaGiffoni
Helper I
Helper I

@RandyHayes That's true. 

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

RandyHayes
Super User III
Super User III

@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

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

View solution in original post

LuccaGiffoni
Helper I
Helper I

@RandyHayes It worked perfectly!

Thanks!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,961)