web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Onchange inputtext nav...
Power Apps
Unanswered

Onchange inputtext navigation do not work

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

HI i have a input textfield with this code on onchange activity If(TextInput2.Text = "5"; Navigate([@SKIFT]; ScreenTransition.None); TextInput2.Text = "5"; Navigate(REP; Transition.None))  that will navigate to another screen. The navigation part do not work. I assume its a bug from ur end, when will this be fixed? Thanks in advance

Categories:
I have the same question (0)
  • rsaikrishna Profile Picture
    3,703 on at

    @Anonymous 

     

    I do not see any bug.  

     

    Here is the code I used to do the navigation in a text box:

    Switch(tbInput.Text,"2",Navigate([@Screen2],ScreenTransition.Cover),"3",Navigate(Screen3,ScreenTransition.CoverRight))

     

    The user needs to click outside the textbox once he enters the value in the textbox.

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The textinput its getting its value from a qrscanner. So the textfield would be hidden. 
    But yes the navigation onchanged it very bugged. Because nothing happens 

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @Anonymous 

     

    I am able to replicate the issue that you mentioned. The reason OnChange is not getting triggered is OnChange gets triggered when you change the input manually and click outside the control.

     

    As a solution to your navigation issue, you can set this logical navigation on "OnScan" property of the barcode scanner. Since, this input is hidden, it will not change the configuation. 

    Scanner -> OnScan -> If(BarcodeScanner1.Value = "5"; Navigate([@SKIFT]; ScreenTransition.None); BarcodeScanner1.Value = "15"; Navigate(REP; Transition.None)) y

     

    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!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    hm think we are Close, but i would need to split the value also. So i have a func First(Match(BarcodeScanner1.Value;"JOBB:(.+)LAGERSTED:";MatchOptions.Contains).SubMatches).Value that splits the value of qr scan and finds the value i need

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Can you share details about the value that is returned from the scanner and what part do you want to extract out of it?

    If you can give an example of data, we can help you build the expression.

     

    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!

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard