Hi all
I'm trying to add some functionality to my app using if function and navigate to a different screen when the only specific value has been selected by user from the dropdown menu.
for e.g I want the app to function is such a way that when person clicks only on another department from the dropdown menu, only then he should see another screen, or else he should be on the same screen.
I tried to use this formula:
However this functionality works well it navigates to another screen, but it even performs the navigation task even a user selects the dropdown bar, where I have other departments.
basically, I only want the user to move on the next screen if
1. He selects new forms
2. selects another department
any help is appreciated
Please find the attachment for more details
thanks
Solved! Go to Solution.
Switch(Dropdown.Selected.Value="DepartmentA",
Navigate(Screen1,ScreenTransition.None),
"Others",
Navigate(Screen3,ScreenTransition.None)
Replace the screen name with yours. Also You can add more list of Departments
Hi @Tapesh ,
How do you determine what is “another department”. Do you have a reference list somewhere - if so what is it called and what are the fields relevant to what you are doing.
Switch(Dropdown.Selected.Value="DepartmentA",
Navigate(Screen1,ScreenTransition.None),
"Others",
Navigate(Screen3,ScreenTransition.None)
Replace the screen name with yours. Also You can add more list of Departments