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

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
Highlighted
Super User
Super User

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

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.

Proud to be a Super User!

Regards,
KrishnaV
If this post helps you give a 👍 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
Highlighted
Super User
Super User

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

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.

Proud to be a Super User!

Regards,
KrishnaV
If this post helps you give a 👍 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

Highlighted
Helper III
Helper III

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

Hi Krishna, 

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

 

Highlighted
Super User
Super User

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

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.

Proud to be a Super User!

Regards,
KrishnaV
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.
Highlighted
Microsoft
Microsoft

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

Thanks for sharing 

Helpful resources

Announcements
secondImage

New Return to Workplace

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

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

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 (3,325)