Versions Compared

Key

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

File Upload enables you to attach a file to a form.文件上载  使您可以将文件附加到表单。

Panel
borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titleNew Feature

This feature is enhanced in Joget Workflow v6 to support drag and drop file upload.

...

Jojo Workflow v6增强了此功能,支持拖放文件上传。


Image Added

图1:突出显示从样本费用声明应用程序获取的文件上传的屏幕截图

Image Added

图2:文件上传属性

Figure 1: Screenshot highlighting File Upload obtained from sample Expenses Claim App

Image Removed

Figure 2: File Upload Properties

NameDescription
IDElement ID (By declaring as "receipt", a corresponding database table column "元素ID(通过声明“c_receipt" will be created)”,将创建相应的数据库表列“c_receipt”)
LabelElement Label to be displayed to end user.元素标签显示给最终用户。

Figure 3: File Upload Properties - Advanced Options图3:文件上传属性 - 高级选项

NameDescription
Validator

Attach a Validator plugin to validate the input value.附加一个Validator插件来验证输入值。

Info
titleWhen will validation takes place?

Validation will takes place whenever form is submitted except when it is submitted as "Save as Draft".除非提交表格为“另存为草稿”,否则将在提交表格时进行验证。

Maximum File Size (KB)Maximum File Size (KB) in Integer.
最大文件大小(KB)整数。
Error Message (File size limit exceeded)
Error Message when file size exceeded.
错误消息文件大小超过。
File Type (.pdf;.doc)

Accepted file type extension(s). (Semicolon separated values)接受的文件类型扩展名。(分号分隔值)

Code Block
titleExample
.pdf;.doc
Error Message (File type mismatch)
Error Message when file type mismatched.
文件类型不匹配时出现错误消息
Delete actual file during overwrite or remove?

Actual file will be deleted when file is removed or being overwritten.文件被删除或被覆盖时,实际文件将被删除。

Info
titleNew Feature

Newly introduced in Joget Workflow v6v6新推出

Permission

Manage on who is able to access the file uploaded. Read more at Permission Control.管理谁可以访问上传的文件。阅读权限控制

Info
titleNew Feature

Newly introduced in Joget Workflow v5v5新推出

SizeSpecifies the width, in characters, of an <input> element.指定<input>元素的宽度(以字符为单位)
Allowed multiple files upload?
When checked, multiple files can be uploaded.
选中时,可以上传多个文件
Readonly

Determines if one can upload a file.确定是否可以上传文件。

Drop zone padding

Determine the extra size of padding for larger drop zone.确定较大放置区域的填充的额外大小。

Info
titleExample

50px

Info
titleExample

5%

Download as Attachment

Determines the download behavior.

确定下载行为。

截图取自Screenshots taken from http://localhost:8080/jw/web/console/app/hr_expense/1/form/builder/hr_expense_claim

...