I'm trying to add an admin login for an app I'm building and I can't figure out the coding error I keep getting.
The code is here:
If(passwordfield.text = "sampletext", Navigate(adminsettings), Navigate('admin login',Reset(passwordfield))
The error I'm getting is: "Incompatible types for comparison. These types can't be compared: Error, Text."
Solved! Go to Solution.
I assume this is what you're trying to do. If the password that the user enters matches "sampletext", navigate to the adminsettings screen. Otherwise, navigate to the 'admin login' screen.
If(passwordfield.text = "sampletext", Navigate(adminsettings), Navigate('admin login'); Reset(passwordfield) )
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.
We are excited to announce a new way to share your ideas for Power Apps!