/
File Upload

File Upload

IN PROGRESS DRAFT

File upload allows users to include one or more files with a form.

When To Use

Use file upload when users are allowed and/or required to upload files to accompany a form such as an application or a service request. There are two main patterns, No List and Pre-Determined List. Within each pattern there are configurable elements (see below). In the case of multi-page forms (often presented with the "Stepper"), certain configurable elements are not recommended, such as pagination of the files uploaded.

Component Features

No List: Pre-Upload

ADD IMAGE

Standard Elements

Field Label

“Upload Image” (or Upload Images) or “Upload Document” (or Upload Documents)

 

Drag and Drop area

Including “Browse” button

 

“Start File Upload” Button

 

 

Field Instructions

Must be included but certain elements are configurable (see below)

Configurable Elements

Title

“Upload Document” (or Upload Documents)
Including a title is recommended if the tool is presented in a panel or other widget-like presentation.

 

Introductory Text

On or Off. If “On”, no maximum on number of characters.

 

Field Instructions

The following text is recommended but the file types and maximum number of files are configurable. Maximum size for each file is capped at 5 MB .
Only the following files are allowed: jpeg, png, jpg, gif files, xls files, doc files or pdf files. Maximum 5 uploaded files. Maximum size for file attachment is 5 MB.

No List: During and After Upload

ADD IMAGE

Standard Elements

File Name + Format

 

 

File Size

 

 

“Remove” Button

Appears when a file has been dragged or found through browse but is not yet uploaded

 

“Delete” Button

Appears after the file has been uploaded

 

Response Message

“File Successfully Uploaded” or “Error: File Failed to Upload”

Configurable Elements

Metadata Fields

On or Off. Up to 3 typical forms elements such as open text, drop-down, each of which can be optional or required for users. The form elements can be used for data such as File Name (to rename file), File Description, etc.

Pre-Determined List: Pre-Upload (Page)

ADD IMAGE

Standard Elements

Title

“Upload Document” (or Upload Documents)

 

Table Columns

Two standard columns: Document Type and Status. Including additional columns is a configurable element (see below).

 

Table of Files

No maximum number of document types

 

“Attach” Button

Brings up the modal window

Configurable Elements

Introductory Text

On or Off. No maximum on number of characters.

 

Search

On or Off.

 

Number of Results

On or Off.
Add recommendation about the number of results at which they should include this element, e.g. 10 or more

 

Number of Entries

On or Off.
Add recommendation about the number of results at which they should include this element, e.g. 10 or more

 

Table Columns

Up to 3 additional columns, such as Category, Required, etc.

 

Sort

On or Off. Simple toggle of ascending/descending.

 

Filter

On or Off for each column. If “On”, list of options needs to be defined.

 

Pagination

On or Off. Avoid using pagination of the table of files in a multi-page form that many also have “Previous” and “Next” buttons.

 

Total Documents Uploaded

On or Off.

Pre-Determined List: Pre-Upload (Modal)

ADD IMAGE

Standard Elements

Title

File Upload

 

Document Name + Type

 

 

Field Instructions

Must be included but certain elements are configurable (see below).

 

Drag and Drop area

Including “Browse” button

 

“Start File Upload” Button

 

 

“Close” Button

In addition, include an “X” in the upper right. Both close the modal.

Configurable Elements

Descriptive Text

On or Off. No maximum number of characters.

 

Field Instructions

The following text is recommended but the file types and maximum number of files are configurable. Maximum size for each file is capped at 5 MB .
Only the following files are allowed: jpeg, png, jpg, gif files, xls files, doc files or pdf files. Maximum 5 uploaded files. Maximum size for file attachment is 5 MB.

Pre-Determined List: During and After Upload (Modal)

ADD IMAGE

Standard Elements

File Name + Format

 

 

File Size

 

 

“Remove” Button

Appears when a file has been dragged or found through browse but is not yet uploaded

 

“Delete” Button

Appears after the file has been uploaded

 

Response Message

“File Successfully Uploaded” or “Error: File Failed to Upload”

Configurable Elements

Metadata Fields

On or Off. Up to 3 typical forms elements such as open text, drop-down, each of which can be optional or required for users. The form elements can be used for data such as File Name (to rename file), File Description, etc.

Pre-Determined List: During and After Upload (Page)

ADD IMAGE

Standard Elements

File name + Format

Displayed after the file has been uploaded

 

“Delete” button

Displayed after the file has been uploaded

 

Status Field

Updates with total number of files

 

“Attach/View” Button

“Attach” button becomes “Attach/View” button after one or more files has been uploaded.

Configurable Elements

Metadata Fields

Contents of metadata fields are displayed after the file has been uploaded.

Accessibility Criteria

Considerations

TBD

Keyboard Interaction

TBD

 

Related content

Name (First Name, Last Name, Single Name)
Name (First Name, Last Name, Single Name)
Read with this
Notice of Collection and Terms of Use
Notice of Collection and Terms of Use
Read with this
Add Best Practice to Buttons
Add Best Practice to Buttons
Read with this