- Compatible Question Types
- Data Type Properties
Attachment data types allow your users to collect and submit information that cannot be described in text, such as in images, other files, or, using the Sketch Pad control, images with important data highlighted by the user. The Attachment data type is one of the key differences between mobile and paper forms: your mobile users' files are instantly attached and integrated with the form submission, and any further steps in your workflow can quickly and easily access that data. ProntoForms supports the following file types:
- Image Types (Image and Sketch Pad): PNG, JPG/JPEG, BMP, EPS, PSD
- Other File Types (File Upload): ZIP, XLS, JNLP, HTML, EXE, APK, DOCX, PDF, PPTX
- Audio Types: Uses the default for the mobile user's device.
- iOS: MP4
- Android: 3GP, MP3 (varies by manufacturer / Android version).
- Windows: Not Supported
These data types can be collected with multiple Question Types:
|Image||Sketch Pad||Audio Recording||File Upload||Signature|
Data Type Properties
In the Form Builder, the properties for the Attachment Data Type can be found in the Properties tab when editing the appropriate questions. Not every setting shown below is relevant to every question type.
Applies to: File Upload, Image, Sketch Pad.
Select how many files are allowed to be attached to your form for this question.
- Note: It is advisable to not allow excessive attachments, as this will cause larger form submissions. Mobile users cannot submit the form if they go over the size limit. When choosing the maximum number of attachments, keep in mind that the default Data Record size limit is 2MB. This can be changed in the Settings tab of the form, under Advanced Options.
- If allowing a higher number of attachments, ensure that you are using higher compression settings (see Quality Settings below).
Custom Filename Prefix
Applies to: File Upload, Image, Sketch Pad, Signature
Use Data Record Expression Language (DREL) or a standard alphanumeric phrase to create a prefix that will show up at the beginning of every attachment's filename, when sent separately from its document through data destinations. For more information, please read: Attachment File Naming: Create a Custom Filename Prefix.
Applies to: Image, Sketch Pad, Audio Recording
Picture Quality (Image and Sketch Pad): Set how compressed the image is. Higher compression results in a smaller file size, which makes it possible to include more images in a form submission. If your mobile users are in areas of poor connection or on limited data plans, it may be best to use Small file (lower quality). ProntoForms defaults to the Small file (lower quality) setting.
Enforce audio quality (override device settings) (Audio Recording only): By default, ProntoForms uses the device settings for audio recording. This toggle allows you to override that to control audio quality, and by extension, file sizes to an extent. A longer audio clip will always be larger than a shorter one.
- Note: The default Data Record size limit is 2MB. This can be changed in the Settings tab of the form, under Advanced Options.
- If allowing a large number of attachments in your form, it is best to use Low Audio Quality to remain under the maximum form submission size.