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

Update Context not working on IF Statement

Hello

 

I am just playing around with a login screen and wanting to have a message popup when the password is incorrect.  I can't seem to get my IF statment working.  Am i being stupid here?

 

Code is below 🙂 

 

If(Password.Text="Hello",Navigate(A21,ScreenTransition.Fade),
UpdateContext({showFailPopup: true }))
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper II
Helper II

Re: Update Context not working on IF Statement

Fixed this.

 

The Boolean for showFailPopup wasn't defaulted to false, so i have set this as an autotimer so it does it to start

View solution in original post

2 REPLIES 2
Highlighted
Helper II
Helper II

Re: Update Context not working on IF Statement

Fixed this.

 

The Boolean for showFailPopup wasn't defaulted to false, so i have set this as an autotimer so it does it to start

View solution in original post

Highlighted
Community Support
Community Support

Re: Update Context not working on IF Statement

Hi @Joko ,

 

Good News fixed it.

 

Best Regards.

Yumia

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,138)