Skip to content

Files, media and buttons

This page covers the controls that are not a plain value: FileUpload, File, Link, Image, Title, Subtitle, Label, Submit, and Button.

FileUpload

FileUpload uploads files and stores the reference to them in the case. It is the primary upload control in the current palette.

Setting Rule
Allowed extensions A list such as pdf,docx; *.* accepts any extension
Maximum size A number plus its unit; it cannot exceed the upload limit of the PHP configuration, and the form refuses to save it if it does

The extension is checked on upload, so a renamed file is still refused. The stored value is the file reference, not its contents: a condition can test that a file exists, not what is inside it.

Files uploaded through a form are attached to the case and appear in Uploaded documents.

File

The single-file File control is hidden in the current palette. Use FileUpload for new forms. Existing forms that still use File continue to work, but the palette does not offer it.

A Link shows a hyperlink inside the form. It can open an external address or a page of the process, and its target can be built from the case data, so the same form can point to a different document in every case.

Image

An Image shows a static image inside the form. It is not a value control and is not stored in the case; use it for logos, diagrams, or instructions.

Title, subtitle, and label

Static text. No variable, no value: they organise the form into sections. If the text must change with the case, use a Textbox bound to a variable and read-only instead.

Submit and button

Control What it does
Submit Sends the form and moves the case on
Button Runs what you attach to it and stays on the form

A form needs a Submit control; without it the user can fill the form and has no way to continue. Buttons are optional.