Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColorgreen
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition

Form Element is a type of plugin that is extensible via Joget's plugin architecture. Form Element is responsible for providing the end users form input elements to interact with.

There are many different form fields (i.e., TextField, SelectBox, Hidden Field, etc.) to choose from when your are designing your forms.  

You can drag-and-drop them on your form canvas and then edit their properties. 

...

定义

表单元素  是一种通过Joget的插件体系结构可扩展的插件。表单元素负责提供最终用户的表单输入元素进行交互。

当你设计你的表单时,有许多不同的表单域(即TextField,SelectBox,Hidden Field等)可供选择。  

您可以将它们拖放到表单画布上,然后编辑它们的属性。 


每个表单元素都有自己的一组属性,ID和Label属性对于大多数属性是通用的。

Image Added

图1:文本字段属性

ID

属性编辑器中“ID”是一个唯一的标识符。
Joget Workflow核心使用这个ID作为与表格相关联的表格(例如上图中的c_ title的列名称
当用户在工作流程过程中在字段中输入值时,该值将存储在该列中。
如果以前的表单中从未使用过ID,则会创建一个新的列。
另一方面,如果以前使用过ID,则将使用该列。 
值得注意的是,如果有人在工作流程过程中填写表单时输入值,该值将覆盖现有值。

Image Removed

Figure 1: Text Field Properties

ID

The 'ID' in the property editor is a unique identifier.
The Joget Workflow core uses this ID as a column name within the table associated to the form (e.g. c_title in the figure above).
When a user enters a value in the field during a workflow process, the value is stored in that column.
If the ID has never been used in previous forms associated to the same table, a new column will be created.
If the ID, on the other hand, has been used before, that column will be used. 
It is important to note that when someone enters a value when completing a form during a workflow process, that value will overwrite the existing one.

Warning
titleReserved IDs

Do not use the following reserved IDs. "appId, appVersion, version, userviewId, menuId, key, embed" on the form element's ID attribute.

Label

"Label" is the human-readable identifier for the form field.

不要使用以下保留的ID。表单元素的ID属性中的“appId,appVersion,version,userviewId,menuId,key,embed”。

标签

标签”  是表单字段的人类可读标识符。

表单元素列表 List of Form Elements

Children Display