The Document Viewer field allows the user to View PDF documents in a form while filling it out on a mobile device. Additionally, the Document Viewer field has the option to allow the user to upload a PDF to the field when working from the Web Application (A computer web browser).
NOTE: The option for a user to upload files to this field type are ONLY for the web application and will not be available for mobile devices. Mobile Devices can only use this field as a viewer, not an upload field.
Configuration
Setting | Description |
---|---|
Field Label | The label displayed for the field. This is usually displayed at the top left corner above the field. |
Field Key | A Key used to reference the field in submission data. The key is also used to reference the field in rules and calculations. |
Upload File | The PDF document that will be displayed to the user. Changes to Re-Upload once a file has been uploaded. |
Field Rules | A Rule or JavaScript snippet that allows you to perform actions on fields or sections within the form. The actions can include hide, show, enable, disable, showSection and hideSection. Rules are executed on field value changes and when the form is opened. ex. if ($field1$ > 23) { hide(); } else { show(); } (Please see the Introduction to Rules Document for more information) |
Hidden | If enabled the field and all labels are not visible. |
Hide Question | Hides the Field Name label. |
Exclude Report | If checked, the field will be excluded from HTML and PDF reports and will also be excluded from Excel and CSV exports. |
Color | Choose a theme to change the background and font colors of the field cell as displayed in the apps. |
Result Data
Data Type | Domain of Values | Example JSON |
---|---|---|
String | File Name of asset on Amazon S3 | { "document_1": "73e0d68e-a648-43e9-9299-518cb81e8359.pdf" } |
Comments