The File View widget is used to allow users to view the contents of a file uploaded through an Attach File widget. The widget displays a single file at a time and is intended for previewing uploaded content directly within a form.
Note:
For scenarios that involve multiple files, it is recommended to use an Attach File widget. For more information, see File Upload (Attach File).
The basic properties of the widget are defined in the General tab and are as follows:
| Property | Description |
|---|---|
| Label | Text displayed to users on the form. The label identifies the purpose of the field. For example,:First name. |
| ID | Unique identifier assigned to the widget. The ID is used internally to identify the field within the form definition. For example, Text070upd. |
| Required | Determines whether users must provide a value before submitting the form. When enabled, the field becomes mandatory. |
| Read-only | Determines whether users can modify the field value. When enabled, the field is displayed but cannot be edited. |
| Colspan | Specifies how many columns the widget occupies within the form layout. Use this property to control field width and alignment within grid-based layouts. |
| Rowspan | Specifies how many rows the widget occupies within the form layout. Use this property to control field height and alignment within grid-based layouts. |
The advanced properties of the widget are defined in the Advanced tab and are as follows:
| Property | Description |
|---|---|
| Linked attach file widget | Specifies the Attach File widget whose uploaded file is displayed in the File View widget. |