cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ratanapouy
Level: Powered On

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
ratanapouy
Level: Powered On

Re: Textbox in Edit form keep text input by user

5 REPLIES 5
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!
ratanapouy
Level: Powered On

Re: Textbox in Edit form keep text input by user

it doesn't work and show error formula.

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?

ratanapouy
Level: Powered On

Re: Textbox in Edit form keep text input by user

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,707)