|
||
In the overview, we mentioned the File field used in the previous versions. Use of this field is still possible and could be particularly useful if you want to have a field where only one file can be uploaded. The default CMS.File document type is based on the use of this type of field.
If you want to define a new File field, choose File from the Attribute type drop-down list when defining a new field.
As you can see in the screenshot above, the Form control drop-down list can be used to choose between two available controls for file uploading which will be displayed on the Form tab:
•Upload file
This is the original control which was used in the previous versions.
•Direct uploader
This is the same control that is used for uploading attachments via the Form tab. The only difference is that it allows only one file to be uploaded.
This is how it looks like when no file is uploaded:
And here is the control after file upload: