Files on Content Forms

Last Updated: Jun 16, 2021
documentation for the dotCMS Content Management System

Files can be attached to front end content forms and stored in different ways.  Adding a Binary Field to a Form allows the file to be saved with the piece of content added through the form and is the recommended way to set up file contribution on front-end forms.

Image and File fields are also available on Forms and force the image/file to be saved to the /submitted_content folder in the Site Browser tree.

Important Note:  If the /submitted_content parent folder path is not valid, the form will not be successfully submitted and errors may occur.  If the parent folder path does exist then the system will create a child folder using the name of the form and store the files attached to the front end form in that child directory (ie: "/submitted_content/formName/myFile.jpg").  The submitted files are visible and editable from the Site Browser tab.

On this page

×

We Dig Feedback

Selected excerpt:

×