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

Textbox in Edit form keep text input by user

Hi All,

 

I have create a editable form that select item from gallery. I am wondering, one textbox name: "Note" keep text that user input even user click back button. if i view datasource is different text. Example: User create a new note: "ABC" then save into database. user wants to edit it in edit form from gallery; user delete "ABC" then type "XYZ" then user click Back button, when user click on item gallery again, Note is "XYZ". How to return value back to "ABC"?

 

Thanks,

RTN

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper III
Helper III

Re: Textbox in Edit form keep text input by user

5 REPLIES 5
Highlighted
Dual Super User
Dual Super User

Re: Textbox in Edit form keep text input by user

Hi @ratanapouy 

 

Can you try to add this formula to the existing formula on the OnSelect property of your back button :
Reset(NotesLabel1)
 
Here, NotesLabel1 refers to the name of the control you are using to store the Notes, in your edit form, this will look something like DataCardValue6.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Highlighted
Helper III
Helper III

Re: Textbox in Edit form keep text input by user

it doesn't work and show error formula.

Highlighted
Dual Super User
Dual Super User

Re: Textbox in Edit form keep text input by user

Hi @ratanapouy 

 

Can you share a screenshot of the error message that you are getting?

Highlighted
Helper III
Helper III

Re: Textbox in Edit form keep text input by user

Highlighted
Dual Super User
Dual Super User

Re: Textbox in Edit form keep text input by user

Hi @ratanapouy 

 

Glad that it was solved. 

 

Can you mark this as answered so that it helps users in the future who may have the same issue or question quickly find a resolution via search

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,511)