In editing an Umbraco Form, I'd like members of the site to be able to retain their previous file uploads. In its current state, upon submission, these file uploads are cleared from the model and replaced with the new uploads.
It appears that the FieldType.FileUpload Razor file contains hidden input fields, one for each currently existing upload. However, it seems that the Umbraco Forms Controller ignores these hidden inputs. Additionally, since I want to support multiple file uploads, setting the value attribute of the input tag won't suffice.
Any thoughts? My next step is probably to override/hook into some parts of the UmbracoFormsController.
Retain previous file uploads when editing a form
If anyone has any clues -
In editing an Umbraco Form, I'd like members of the site to be able to retain their previous file uploads. In its current state, upon submission, these file uploads are cleared from the model and replaced with the new uploads.
It appears that the FieldType.FileUpload Razor file contains hidden input fields, one for each currently existing upload. However, it seems that the Umbraco Forms Controller ignores these hidden inputs. Additionally, since I want to support multiple file uploads, setting the value attribute of the input tag won't suffice.
Any thoughts? My next step is probably to override/hook into some parts of the UmbracoFormsController.
is working on a reply...