A Document question is a field that allows users to select a file from their local drives and upload the file when they submit the form.

The following is an example of a Document question:

File:

The following fields are specific to this question type and give you additional control over the display and behavior of this field:

Document Options

1. Max Size
 
The maximum allowable size for a document that is uploaded. If left blank, there is no limit on the file size.
2. Extensions (allowed)
 
Multiple document extensions can be provided by separating them by a space. If provided, any document that is uploaded by a user must match one of the extensions; otherwise, the user will get an error message.
3. Extensions (not allowed)
 
Multiple document extensions can be provided by separating them by a space. If provided, any document that is uploaded by a user cannot match any of the extensions; otherwise, the user will get an error message.

Image Options

If the type of document being uploaded for this question is limited to either the jpg/jpeg or png formats, there are additional options that allow you to show the image in the listing and details views (instead of just having a link to the document), as well as automatically resizing the image when it is added or updated. This is very convenient for product catalogs, image libraries, etc.

1. Max Height
 
If the document being uploaded is a jpg or png, it will automatically be resized proportionately so its height is not larger than this value.
2. Max Width
 
If the document being uploaded is a jpg or png, it will automatically be resized proportionately so its width is not larger than this value.
3. Display in List
 
If the value is "Yes", the image will be displayed in the listing view; otherwise, a link to the image will be displayed.
4. Display in Details
 
If the value is "Yes", the image will be displayed in the details view; otherwise, a link to the image will be displayed.