Skip to content

FileUpload

FileUpload lets users upload a single attachment along with the form.

Specific Settings

Width

The upload control width (pixels or percent).

Required

When checked, a file must be uploaded before submitting.

Allowed File Types

Allowed upload extensions are configured via Upload Extensions in the General settings (available since 11.00.02):

  • Separate multiple extensions with commas, e.g. jpg,png,pdf,docx.
  • Leave empty to use the default list (20 common formats: images, audio, documents, archives, etc.).
  • Web markup types such as svg, html and xml are always rejected and cannot be enabled.
  • The front-end file picker and server-side validation stay in sync; rejected uploads return a specific reason (file name plus the allowed format list).

WARNING

If still restricted, also check the DNN global settings (Host → Configuration Manager → Allowable File Extensions) and the server's maxRequestSize. The single file size limit can be set via Max file size in the general settings.

Viewing Uploaded Files

Next Steps

Built with VitePress