File upload


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.


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.


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.


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.


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.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?

Next article