• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

File Upload utility functionality

New Here ,
Sep 11, 2008 Sep 11, 2008

Copy link to clipboard

Copied

I created a record keeping system where the user 3 uploads a files. When the user opens the system the second time to upload new files and perhaps only uploads 1 file the database records of the two other files are overwritten and not maintained. How do I correct this issue. The action page has been included.
TOPICS
Advanced techniques

Views

189

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 15, 2008 Sep 15, 2008

Copy link to clipboard

Copied

LATEST
If i can understand it right you need to check if there are any files uploaded aleady. If there is let user only upload the file that's missing. So if in your upload form you have 3 separete file selections, so lets say user has already uploaded 1 file and it's in Attachm1, hide this item in your form.

<cfif query.Attachm1 NEQ "">
"Hide File Selection for File 1"
<cfelse>
"Show File Selection for File 1"
</cfif>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation