Updated on 2025-08-21 GMT+08:00

Set the Properties of the Attachment Widget

This widget is for uploading certificate photos. You can upload by clicking or dragging an attachment.

Figure 1 Attachment widget

Name

Set the field name shown to users. Click to set Chinese and English names. Click Reference Field to copy another field's value to this field name.

Figure 2 Setting the field name (Chinese and English)

File Size

Set the maximum file size for uploads. The maximum value is 204,800 KB, with a default of 2,048 KB.

Figure 3 Setting the file size

Supported File Types

Set the supported file types for upload. At least one file type must be selected. Supported file types include:

  • Image: PNG, JPG, JPEG, GIF
  • Document: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT, HTM, XML
  • Video: MP4, MKV, SWF, WMV, MPG, RMVB, AVI
  • Package: ZIP, RAR
  • Custom: User-defined extensions like .wps, .gz, .7z, .msg

Access Permission

Set the access permission for the attachment. Options are:

  • Public: Accessible to all users.
  • Selected roles: Only users with specified roles can access the file. If no role is selected, the minimum permission is used.
Figure 4 Accessible to developers

Verification

Limit the field's length and format to keep data accurate and valid.
  • Mandatory: If checked, the field is required and shows a * next to it.
  • Number of files: Maximum number of attachments that can be uploaded. The range is [1, 10]. Default is 1.

Conditions

Set field properties like Read-only, Disable, and Hide.
  • Read-only: If checked, the field is read-only.
  • Disable: If checked, the field shows but cannot be edited.
  • Hide: If checked, the field is hidden on the page.

Width

Width: Widget width as a ratio of the page width. Set the widget width to make the page look better and more professional.

Figure 5 Setting the widget width

Pop-up Message

If a field is unclear, add a Pop-up Message to explain it. This helps users and makes things easier.

After setting, a question mark icon appears next to the field. When filling in the form, click the question mark icon to see the message.

Figure 6 Effect

Description

Set the widget description. Include its functions, use cases, and tips. This helps users understand it better and makes the form clearer.

Figure 7 Effect