Versions Compared

Key

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

图片上传  的目的是为了迎合图片。上传的图像将根据设置的尺寸显示。Image Upload is designed to cater to images. Uploaded images will be displayed according to dimensions set.

Panel
borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titleNew Feature

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

...

Joget Workflow v6增强了该功能,支持多文件上传以及拖放文件上传。


Image Added

图1:在Form Builder中突出显示图片上传的截图

Image Added

图2:突出显示图像上传和图像上传的图片,以实际的形式上传

Image Added

图3:图像上传属性

名称描述
ID元素ID(通过声明为“photo”,将创建相应的数据库表列“c_photo”)
Label元素标签显示给最终用户。

Image Added

图4:图像上传属性 - UI

名称描述

Figure 1: Screenshot highlighting Image Upload in Form Builder

Image Removed

Figure 2: Screenshot highlighting Image Upload with image uploaded in actual Form

Image Removed

Figure 3: Image Upload Properties

NameDescription
IDElement ID (By declaring as "photo", a corresponding database table column "c_photo" will be created)
LabelElement Label to be displayed to end user.

Image Removed

Figure 4: Image Upload Properties - UI

NameDescription
Allowed multiple files upload?When checked, multiple files can be uploaded.选中时,可以上传多个文件。
Readonly

Determines if the element is editable.确定元素是否可编辑。

Drop zone padding

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

Info
titleExample

50px

Info
titleExample

5%

Width (px)Width in integer整数宽度
Height (px)Height in integer整数高度
Create Thumbnail?Determines if the element will create a thumbnail and show it below the upload file element after image is uploaded.确定元素是否会创建缩略图,并在上传图像后将其显示在上传文件元素的下面

Figure 5: Image Upload Properties - Advanced Options

图5:图像上传属性 - 高级选项

名称描述
Validator

附加一个Validator插件来验证输入值。

NameDescription
Validator

Attach a Validator plugin to validate the input value.

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.错误消息文件大小超过。
Image File Type

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

Code Block
titleExample
.png;.jpg
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新推出