Attach Field Type

Created by Anthony Young, Modified on Tue, 14 Jun, 2022 at 1:46 PM by Anthony Young

   

The Attach field is an advanced field type that allows documents or files on a user's device to be added to a form, as an attachment for output.


Alternatively, a file can be downloaded from a specified URL.


Note, Attached PDF's can also be embedded into custom outputs when form captured data is output in PDF.



Add an Attach Field

Simply drag 'n drop an Attach field or left-click from the list of field types (left) to add it to the design preview (center), then configure its properties (right).


Besides common field settings, a few unique Attach field properties might be of interest under the field's Advanced Options:


PropertyDescription
File Name

By default, the app will generate a date-based name for each file captured by the user. Use this property to define your own file names using our template syntax for dynamic generation. The file extension is automatically added by the system based on the file type.


Example: STOCK-{{mychoicefield}}-{(USERLASTNAME())}

Limit File TypesEnter a comma-separated list of file types to allow. If this field is left empty, then any file type supported by the device can be selected.
Download From URL

Instead of capturing the file from the device, the file is downloaded from the specified URL.

This is useful for cases where other apps or external devices can provide files via an https:// or other URL schemes.


Note: You can use field references in your URL, e.g. https://{{otherfield}}/getimage



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article