UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

工作流活动

上次更新日期 2026年4月27日

动态隐藏字段

触发器类型:简单操作类型:属性

当用户在另一个表单字段(即 Parent field)中输入“隐藏” 时,此高级逻辑将隐藏表单字段(即 Child field)。

  1. 在 Studio 中打开或创建一个表单文件。
  2. 添加两个“文本字段”组件。
  3. 将一个文本字段组件命名为Parent field ,将另一个命名为Child field 。在高级逻辑中使用这些值时,请注意其“属性名称”
  4. Go to the Logic tab of the Child field component.
  5. 添加一个逻辑并将其命名为 "hide input"
  6. Select the Simple trigger type.
    1. “表单组件”下拉菜单中,选择Parent field ({parentField_property_name})

    2. “具有值”字段中,输入"hide"

      上述配置会检测用户是否在父字段中输入了字符串 "hide" ,并触发 Actions 以隐藏子字段。

  7. 添加一个 Actions 并将其命名为 "hide"
  8. Select the Property action type.
    1. “组件属性”下拉菜单中,选择“隐藏”
    2. 设置状态下拉菜单中,选择True
  9. 保存操作和逻辑。
  10. 保存组件。

在 Runtime,如果业务用户在父字段中输入 "hide" ,则子字段将隐藏。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新