File upload

Overview

Use this widget to give the user the possibility to upload one or more file attachments to the form.

After you have dragged the File upload form widget in your form, click the Edit button in the upper-right corner of the widget.
The File upload window appears, displaying the following tabs:

Label and texts

On this tab, perform the following:
  1. In Label input field enter the label of the upload box.
    For example, Attach a file.
    The label is displayed above, to the right, or to the left of the dropdown box, depending on what settings you have made for the form. For more information, see Design forms » Settings.
  2. In Instructional text, enter instructions or explanatory text for the textbox, if needed. 
    The text is displayed bellow the textbox.
  3. If you want to make the paragraph box mandatory, select the Make required checkbox.

Limitations

On this tab, perform the following:

  1. In Min and Max input fields, enter in MB the range of the file size that you are going to accept as attachments.
  2. Under Allowed file types, select one of the following:
    • All file types
    • Selected file types…
      A checkbox group appears where you can limit the types of files that you accept as attachments. 
      You can also enter the file extension manually, by selecting Other
  3. Enter the error message that will appear, if the attached file does not meet the specified criteria.
  4. If you want the user to be able to attach more than one file, select Allow multiple file attachment checkbox.

Appearance

On this tab, you can specify a CSS wrapper class that will determine the appearance of the widget.

When you are finished, click Save.

For more information about advanced configuration options, see Advanced configuration of widgets.

Storage

File attachments are stored in a dedicated library in User files. For each form there is a different library. The libraries are automatically created when the first file is uploaded and attached.

To manage the files in a form library, in the main navigation click Administration » User files and select the library of the form.

Permissions

If you want a user to be able to see the library with form attachments, you must grant explicit permissions to this user to work with the form’s library. It is not enough the user to have permissions to manage forms.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

CAPTCHA