cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

How to clear a Text Input

Hi all

I have a situation to clean a Text Input after using a botton to be a collection. Everything works perfect, only that Text Input keeps value. how can I clean them

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: How to clear a Text Input

You need to reset the TextInput

 

Create a variable on the Form OnVisible property like:

 

UpdateContext({VarReset:false})

 

In the Reset property to the TextInput,  give it the variable VarReset as its value

 

Then when you complete the collection add UpdateContext({VarReset:true }) and

 

In the onslect property to the TextInput UpdateContext({VarReset:false})

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: How to clear a Text Input

You need to reset the TextInput

 

Create a variable on the Form OnVisible property like:

 

UpdateContext({VarReset:false})

 

In the Reset property to the TextInput,  give it the variable VarReset as its value

 

Then when you complete the collection add UpdateContext({VarReset:true }) and

 

In the onslect property to the TextInput UpdateContext({VarReset:false})

View solution in original post

Highlighted
Helper II
Helper II

Re: How to clear a Text Input

thank so much

Helpful resources

Announcements
Check this Out

Announcing

Class of 2020- Season 2

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,776)