cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
IMathur
Helper V
Helper V

Navigate to different screens on the basis of the values selected in the Form

Hello Experts!

I have a Form screen, in which i am having a button to navigate to another screen but with condition, Please suggest amendments in the below syntax:

Both of my conditions are from dropdown value. I want 'If value in Combobox1 is "No" or value in Combobox2 is "Development" then navigate to Screen1 otherwise Navigate to Screen2' 

 

If( ( DataCardValue65.SearchText = "Development" || DataCardValue67.FalseText = "No"), Navigate(Screen1,ScreenTransition.None), Navigate(Screen2,ScreenTransition.None))

 

The above syntax is not performing any action. Please suggest amendments 

1 ACCEPTED SOLUTION

Accepted Solutions
KrishnaV
Community Champion
Community Champion

Hi @IMathur ,

 

Try this:

If( ( DataCardValue65.Selected.Value = "Development" || DataCardValue67.Selected.Value = "No"), Navigate(Screen1,ScreenTransition.None), Navigate(Screen2,ScreenTransition.None))

 
I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

 



I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
KrishnaV
Business Applications MVP, Microsoft Certified Trainer
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a THUMS-UP and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

View solution in original post

4 REPLIES 4
KrishnaV
Community Champion
Community Champion

Hi @IMathur ,

 

Try this:

If( ( DataCardValue65.Selected.Value = "Development" || DataCardValue67.Selected.Value = "No"), Navigate(Screen1,ScreenTransition.None), Navigate(Screen2,ScreenTransition.None))

 
I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

 



I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
KrishnaV
Business Applications MVP, Microsoft Certified Trainer
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a THUMS-UP and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

Hi Krishna, 

This is working fine, could you please also let me know the syntax in case of Toggle button?

 

KrishnaV
Community Champion
Community Champion

Hi @IMathur ,

 

try this:

If( ( DataCardValue65.Selected.Value = "Development" || DataCardValue67.Selected.Value = "No" || ToggleControlName), Navigate(Screen1,ScreenTransition.None), Navigate(Screen2,ScreenTransition.None))

 
I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

 



I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
KrishnaV
Business Applications MVP, Microsoft Certified Trainer
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a THUMS-UP and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

Thanks for sharing 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,505)