File upload name when edit form

Retain uploaded file names when editing a form.

Overview

The issue occurs because the file upload field is included in the edit form, which can overwrite the existing file in the database.
Exclude the file upload field from the edit form or create a separate form specifically for editing other fields without affecting the uploaded file.

Answered
da danwcn 02 Feb, 2017
Hi all,

this is my first question in this forum after many years of CF use.

I write here because i need to know if there is a way to mantain the name of an uploaded file when i go to edit the form with DB Record Loader action?

Because i need that the uploaded file remain the same even if i edit another field and not overwrite into DB table.

Thanks and sorry for my bad english
Max_admin Max_admin 02 Feb, 2017
1 Likes
Hi danwcn,

If you don't want to change the value of one of the fields then don't include it in the "edit" form, you can make a new form only for editing.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
da danwcn 02 Feb, 2017
Ahah Thank you Max I'm lost in a glass of water
Gr GreyHead 02 Feb, 2017
1 Likes
Hi danwcn,

Also see the second FAQ that Prof Calculus linked to. That let's you handle the case when you might need to edit the uploaded file.

Bob
da danwcn 02 Feb, 2017
Thank you all for the help guys I really appreciated!
This topic is locked and no more replies can be posted.