基于几个PowerApps下拉值的导航按钮



我正在尝试设置要选择的强制下拉菜单,以便转到下一个屏幕。

  • 下一个屏幕称为结束
  • 第一个下拉列表称为type_4
  • 第二个下拉列表称为type_3
  • 第三个下拉列表称为type_2

请注意,下拉列表的默认值为选择您的答案(下拉列表的第一选择(。

这是我使用的代码,但它似乎没有通过:

If(
IsBlank(type_4.Selected.Value), 
IsBlank(type_3.Selected.Value), 
IsBlank(type_2.Selected.Value),
Notify("Fill all the fields to continue", NotificationType.Error),
Navigate(End,ScreenTransition.Cover) )

如果下拉菜单的默认选项是"选择答案",则可以使用Or函数(或Or运算符(组合条件,表达式类似于下面的表达式:

If(
Or(
type_4.Selected.Value = "Select your answer",
type_3.Selected.Value = "Select your answer",
type_2.Selected.Value = "Select your answer"),
Notify("Fill all the fields to continue", NotificationType.Error),
Navigate(End,ScreenTransition.Cover) )

最新更新