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

工作流活动

上次更新日期 2026年2月25日

高级组件

HTML 元素

You can use the HTML Element to display a single HTML element in your form and configure it based on your use-case.

备注:

启用“创建表单” 活动中的“禁用清理” 属性,以显示 HTML 元素 中的所有不安全内容 。

docs image

  • HTML Tag - The tag of the HTML Element.
  • CSS Class - The CSS Class that can be added for this HTML Element. You can input multiple classes, by separating them with single spaces.
  • Attributes - The attributes for the HTML Element. Only safe attributes are allowed, such as: src, href, and title.
  • Content - the content of the HTML Element.
  • Refresh On Change - re-renders the HTML Element whenever a value changes in the form.

如要显示图像表单,您需要使用HTML 元素组件。请查看以下教程显示图像

对于 PDF 文件,只能在创建自定义 HTML 表单时显示它们。

内容

您可以使用“内容”组件在表单中添加信息,即仅显示信息。组件的值不会提交回工作流。

docs image

  • Refresh On Change - renders the Content component each time a value in the form changes.

电子邮件

数据类型: String

You can use the Email component to add a field for inputting email addresses.

docs image

URL

数据类型: System.Uri

您可以使用“Url”组件添加用于输入 URL 地址的字段,确保 URL 的格式正确无误。

电话号码

数据类型: String

You can use the Phone Number component to add a field for inputting phone numbers.

docs image

  • Input Mask - Provides a predefined format for the phone number. For the phone number field, the default format is (999) 999-9999.
  • 9 - 数字
  • a - 按字母顺序
  • * - 字母数字
  • 输入掩码占位符- 可以在字段中使用字符作为占位符。例如,您可以使用连字符 (-)。
    备注:

    如果在掩码中使用占位符,则该字符将替换为空格。

日期/时间

数据类型: String

You can use the Date/Time component to input dates, times, or input both.

docs image

  • Format - the format used for displaying the datetime value.

  • Enable Date Input - allows users to input dates for this field.

  • “使用输入为 minDate 添加 moment.js ” - 使用户能够对minDate时刻函数使用输入,而不是日历。

  • Use calendar to set minDate - enables the user to use a calendar to set the minDate.

  • Use Input to add moment.js for maxDate - enables the user to use an input for maxDate moment function, instead of a calendar.

  • Use calendar to set maxDate - enables the user to use a calendar to set the maxDate.

  • Disable specific dates or dates by range - add dates that you want to ban. For example, 2027-08-11.

  • Custom Disabled Dates - allows you to ban certain dates using a customized function.

  • Disable weekends - allows you to ban weekends.

  • Disable weekdays - allows you to ban weekdays.

  • Enable Time Input - allows users to input time for this field.

  • Hour Step Size - the number of hours that have to be incremented or decremented in the time picker.

  • Minute Step Size - the number of minutes that have to be incremented or decremented in the time picker.

  • 12 Hour Time (AM/PM) - displays time in 12 hour periods, using AM or PM.

  • Default Date - sets the default value to a specific date using Moment.js functions. For example, you can use the following function: moment().substract(10, 'days').

    docs image

数据类型: System.DateOnly

您可以使用组件,通过数字类型字段或选择类型字段来要求提供的输入。

docs image

  • Type / Type of input - choose to give input for Day, Month, or Year either by typing in a number or by selecting options from a dropdown list.

Minimum / Maximum Year - choose the minimum / maximum year that can be entered.

  • Require Day - the Day field must be filled in before the form renders.

  • Require Month - the Month field must be filled in before the form renders.

  • Require Year - the Year field must be filled in before the form renders.

  • Maximum / Minimum Day - choose a minimum / maximum day that can be entered. You can also use Moment.js functions. For example, you can use moment().add(10, 'days').

    docs image

时间

数据类型: System.TimeOnly

You can use the Time component to input time in different formats.

docs image

  • Input Type - select the type of widget you would like to use for inputting time: HTML5 Time Input (users can choose the time from a given panel) or Text Input with Mask (users can manually input the time).

币种

数据类型: System.Double

You can use the Currency component to display financial amounts using a certain currency. The component has an input mask that displays the currency icon and automatically adds commas based on the number that the user inputs. The component allows two decimal values.

docs image

  • Currency - choose a certain currency from the drop-down list.

调查

数据类型: System.Collections.Generic.Dictionary<System.String,System.String>

You can use the Survey component to allow users to answer multiple questions, by choosing only one value from a list.

docs image

  • Questions - add the questions that the users should answer.
  • Values - add the options that the user can select per question.

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2026 UiPath。保留所有权利。