Developer forum

Forum » Development » Forms for editors

Forms for editors

Thomas Larsen
Reply

How can I override the path where the forms for editors saves file attachments?

BR
Thomas


Replies

 
Nicolai Pedersen
Reply

Hi Thomas

You can create a hidden field called "FormUploadPath" and give a value relative to the /Files root like "MyFiles/Something" that will save files to "/Files/MyFiles/Something".

Be aware that this can be misused and should be avoided. A better approach would be a notification subscriber that moves the file after the forum was submitted and saved.

BR Nicolai

 

You must be logged in to post in the forum