Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 21.1.4
Page properties
idform_elements_general
Element

Icon

Description

Form field where images and other documents can be uploaded. If the user clicks on the upload button , he/she can select the files in the window that opensto upload in a file browser. Alternatively, the desired files can be added with drag&drop into the marked frame.
The upload takes place when the form is saveda file is added to the element. Uploads are stored on the server and to the file storage of the PAS installation and can be referenced in forms. You can administrate the uploaded files in the File Manager.

TypeString or Array of String
Prepopulation

The file upload element can only be prepopulated via the Attributes panel in the Form Editor. There, you can upload one or multiple files to the file storage, and add a reference within the file upload element.

  • You cannot overwrite these default nor add more files dynamically in your model.
  • The default files cannot be removed from the element in the running application.
    Exception: For elements with Upload Type = Single, any default will be replaced by a newly selected file.
Editing

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_editing
DisableCachingtrue
PageWithExcerptINTERNAL:_designer_excerpts

Configuration Options

Use the Attributes panel to edit the form element.

Page properties
idform_element_attributes
Attribute NameDescriptionAllowed Values?
Name

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_name
PageWithExcerptINTERNAL:_designer_excerpts

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_name_value
DisableCachingtrue
PageWithExcerptINTERNAL:_designer_excerpts
Description
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_description
PageWithExcerptINTERNAL:_designer_excerpts
Any string.
Label

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_label
PageWithExcerptINTERNAL:_designer_excerpts

Any string.
Mandatory

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_mandatory
PageWithExcerptINTERNAL:_designer_excerpts

true

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_mandatory_true
PageWithExcerptINTERNAL:_designer_excerpts

false

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_mandatory_false
PageWithExcerptINTERNAL:_designer_excerpts

Read-only
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_read-only
PageWithExcerptINTERNAL:_designer_excerpts
true

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_read-only_true
PageWithExcerptINTERNAL:_designer_excerpts

false

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_read-only_false
PageWithExcerptINTERNAL:_designer_excerpts

Allowed File Types

If you want to allow certain file types only, specify the types you want to allow in this field. Separate multiple file types by comma.

Example: Word and JPG files are allowed

Image Modified

Alternatively you can click icon Image Modified in the attributes panel to open a separate window, where you can enter one file type per row. Button Add will add a new row, while the X icon deletes the row. Confirm your changes with Save and discard pressing Cancel.

All common file extensions.

Allowed Mime Types

A mime type t is a two-part identifier for file formats and format contents used by internet protocols such as HTTP and document file formats such as HTML. As with the file type, there are two ways to specify values for the mime type. On the one hand, the type can be entered in the value field in the attributes. Separate multiple types by comma.

Example:  Word  Word and JPEG files are allowed

Image Modified

Alternatively you can click icon icon  in the attributes panel to open a separate window, where you can enter one mime type per row. Button Add will add a new row, while the X icon deletes the row. Confirm your changes with Save and discard pressing Cancel.

All common mime types.
Default Files

The element is empty empty by default but you can preset the element with a default file:

  • Click  to  to upload a file to the server. The file name will be displayed at the bottom of the element. A click on the file name will download it. To remove the upload, click .
  • In the attributes panel click icon Image Modified to open the upload view. Use the Browse button to search your computer and select the file you want to upload. Use icon Image Modified to download the file. To remove To remove it, click icon .
No restrictions for the file preassignment. Also does not have to match the mime type, specified upload size or file type.
Max File SizeIn this field you can limit the size of a file. Each file is checked individually against the restriction. The unit of measurement is megabyte, a period is used as separator.Decimal number with period as separator.
Upload TypeUse this option to specify whether only one or multiple files may be uploaded.SingleAllows to upload only one file.
MultipleAllows to upload several files.
CSS Class

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_cssClass
PageWithExcerptINTERNAL:_designer_excerpts

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_cssClass_value
PageWithExcerptINTERNAL:_designer_excerpts

Symbol Type

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameform_elements_symbolType
PageWithExcerptINTERNAL:_designer_excerpts

_