Notifications
Announcements
How can I make it so that when a user navigates to EditScreen1 it automatically is set up so that TextInput2 is being edited? To clarify, I am going to have an RFID reader enter a string of numbers when a badge is scanned and I need TextInput2 to be ready to receive this string OnVisible.
You could use a context variable that you pass as you navigate the screen:
Navigate(EditScreen1,fade,{loc_displaymode:DisplayMode.Edit})
When you have finished your data input, you can update this variable again with the UpdateContext() function.
UpdateContext({loc_displaymode:DisplayMode.Disabled})
I am still confused, could you please explain further? So when I click a button on a separate screen which has value Navigate(EditForm1), I should change that to Navigate(EditScreen1, {loc_displaymode:DisplayMode.Edit})? How would this make TextInput2 edited? Then, where would I put the function UpdateContext({loc_displaymode:DisplayMode.Disabled})? I want the text field to stop being edited after a certain number of characters. Where would I put an if statement to that effect?
update, I had to use setfocus()
@officeadmingsf Thank you for your feedback on the results of the solution. Your feedback will help other users of the forum.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268