File Upload Fields

A file upload fields allows users to attach a file that will be saved along with the form. You can specify the maximum file size and the file extensions that file upload fields will accept.

Field settings

To edit a file upload field

  1. Select the field on the canvas, and the options will appear in the right pane.
  2. Under Field label, enter the field label that will appear next to the field on the form.
  3. Under Variable, specify a name for the field variable associated with this field. If you do not specify a variable name, Forms will automatically assign the field one based on its label.
  4. Under Text below field, you can enter any additional text that should appear with the field. Click the Insert variable button to include a variable with this text.
  5. Under File options, select Required if users must fill in this field before submitting the form. Select Read-only if users should not be allowed to modify this field.
  6. Note: If a required field is hidden with a field rule, it is no longer required. A required field is only required when it appears on the form.

  7. Under Preview Options select Show uploaded images to allow authenticated users to see a preview if the file is a supported image type. If Include thumbnail preview is selected, choose which Thumbnail Size to be displayed on the form for each image.
  8. Under Field Size, select the field size that you would like to use.
  9. Under Button label, edit the text of the button displayed.
  10. Under File Size Limits, you can set both the single file maximum size and the total combined file upload size limits.
    • Select Limit single file size and specify the Max Single File Size allowed in MB. The maximum allowed is 25 MB, and the default value is 25 MB.
    • Select Limit total size of files uploaded and specify the Max Upload Size allowed in MB for all files combined . The default value is 25 MB.
  11. To configure advanced options, click the Advanced tab.
    • Under Max File Count specify the maximum number of files that can be uploaded. The default value is 10 files.
    • Under File extensions allowed, specify the three letter file extensions (e.g., .pdf, .jpg, .exe) that the field will accept. If this setting is left blank, any file extensions will be accepted.
    • Under Tooltip, specify the help text that will appear when users hover over the field.
    • Under CSS classes, specify the CSS classes to assign this field. Learn more about using CSS.
  12. To configure field specific rules, click the Rules tab.
  13. Your field changes will be applied to the form automatically.

Note: The labels, tooltip, text above, and text below settings support the use of simple HTML markup for formatting purposes.

  1. Select the field on the canvas and click Edit.
  2. Under Field label, enter the field label that will appear next to the field on the form. Click the Insert variables button to insert a variable into the label.
  3. Under Variable, specify a name for the field variable associated with this field. If you do not specify a variable name, Laserfiche will automatically assign the field one based on its label.
  4. Under Field options, select from the following additional options:
    • Required if users must fill in this field before submitting the form. If a required field is hidden with a field rule, it is no longer required. A required field is only required when it appears on the form.
    • Read-only if users should not be allowed to modify this field.
    • Show uploaded images to include the image a form user uploads on the form. You can select a small, medium, large, extra large, or custom-sized thumbnail of the image. For custom options, the default width is 200 pixels if you do not set a width.

      Note: Users cannot view uploaded TIFF images. Users can only view uploaded PDF images on Chrome, Firefox, and Microsoft Edge.

  5. Under Text above field and Text below field, you can enter any additional text that should appear with the field. Click the Insert Variables button to include a variable with this text.
  6. Under File extensions allowed, specify the three letter file extensions (e.g., .pdf, .jpg, .exe) that the field will accept. If you specify multiple file extensions, separate them with commas. If this setting is left blank, any file extensions will be accepted.
  7. Under Maximum file size, specify the maximum file size, up to the maximum specified by the service limits.
  8. Under Button label, enter the text that will appear on the button users will click to upload files.
  9. To configure advanced options, click the Advanced tab.
    • Under Tooltip, specify the help text that will appear when users hover over the field. Click the Insert variables button to insert a variable into the text.
    • Under CSS class, specify a CSS class to assign to this field.
  10. When you are finished editing the field settings, click Done. Your changes will be saved automatically.