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

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
Community Champion
Community Champion

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.

View solution in original post

4 REPLIES 4
Highlighted
Community Champion
Community Champion

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.

View solution in original post

Highlighted
Helper I
Helper I

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
Community Champion
Community Champion

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.

Highlighted
Microsoft
Microsoft

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

Thanks for sharing 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

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

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,351)