This field is used to upload a pdf in an entry. The field has special attributes which support analysis, downloading, versioning and comments.
{"type": "pdf","id": "pdf","label": "PDF","showInTable": true,"isRequired": true,"sizeLimitMb": 10,"comments": true,"versioning": true,"download": true,"analysis": {"spellcheck": true,"layers": true}}
The example above takes a pdf as input of maximum size 10 MegaBytes. The user has the provisions to add comments, view the different versions, download the file, and check the analysis of the text in the pdf.
Field Attributes
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
id | string | Assigns a name for the given field on the backend. This name can be used to refer this field in another field | |||||||||
label | string | Adds a label to the given field | |||||||||
isRequired | boolean | Makes a field mandatory | |||||||||
showInTable | boolean | Displays the field in a table after saving the entry | |||||||||
sizeLimitMb | number | Limits the size of the uploaded file | |||||||||
versioning | boolean | Enables the option to show versions of the uploaded pdf | |||||||||
download | boolean | Permits the user to download the uploaded pdf | |||||||||
analysis | object |
|