# Viewing a Previously Uploaded File

**URL:** <https://community.gravityforms.com/t/viewing-a-previously-uploaded-file/11841>\
**Category:** Get Help\
**Tags:** custom, file-uploads, gravity-flow, gravity-wiz\
**Created:** [February 8, 2022, 3:52pm UTC](https://community.gravityforms.com/t/viewing-a-previously-uploaded-file/11841 "2022-02-08T15:52:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cluecrypted](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@cluecrypted](https://community.gravityforms.com/u/cluecrypted)\
**Post date:** [February 8, 2022, 3:52pm UTC](https://community.gravityforms.com/t/viewing-a-previously-uploaded-file/11841/1 "2022-02-08T15:52:48Z")

</div>

I am looking for a Wordpress plug-in that allows a user to upload a file (video, photo or text) and provides them with a unique upload code (eg, ABCD1234).

I believe I can use Gravity Forms for the media upload and the Unique ID add on to generate a code.

However, I also need something that allows the user to visit a different part of the website, enter their unique upload code and view the file or text they previously uploaded. This should not be linked to a username and password, ONLY their unique upload code.

Is this possible with Gravity Forms?

---

<div class="post-metadata">

**Author:** ![sacom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/sacom/32/53_2.png) [@sacom](https://community.gravityforms.com/u/sacom)\
**Post date:** [February 9, 2022, 2:18pm UTC](https://community.gravityforms.com/t/viewing-a-previously-uploaded-file/11841/2 "2022-02-09T14:18:05Z")

</div>

What you described is not something Gravity Forms can do out of the box. Maybe GravityView can help: [https://gravityview.co/](https://gravityview.co/)

I would recommend to contact the author for advice.

If that doesn’t help, I would recommend you to [hire someone to work with you](https://community.gravityforms.com/c/job-board/34).

---

<div class="post-metadata">

**Author:** ![JamieO](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/jamieo/32/2521_2.png) [@JamieO](https://community.gravityforms.com/u/JamieO)\
**Post date:** [February 11, 2022, 6:47pm UTC](https://community.gravityforms.com/t/viewing-a-previously-uploaded-file/11841/3 "2022-02-11T18:47:24Z")

</div>

Hi Adam,

A great question!

Do you want/prefer to code your own solution?  
You would likely want to be looking to

- Create first form with unique ID and file upload fields.
- Create a second form that has 2 text fields - 1st for unique code and 2nd for file name.
- On the 2nd form use [gform\_field\_validation](https://docs.gravityforms.com/gform_field_validation/) and [gform\_entry\_post\_save](https://docs.gravityforms.com/gform_entry_post_save/) along with the [GFAPI](https://docs.gravityforms.com/api-functions/#get-entries) to find the associated entry by unique ID and update the file name field.
- Display the filename field via merge tag on the confirmation message of the 2nd form.

If you would prefer a no code solution that can be created in minutes, [Gravity Flow’s Form Connector](https://gravityflow.io/downloads/form-connector/) with its’ [Update Fields step type](https://gravityflow.io/docs/?d=/article/248-form-connector-update-fields) will let you take a similar approach, but use conditional lookups between the two forms without any code.

I put together a quick video that shows how the 2 forms and workflow steps would be setup to achieve it.

If the side-benefit of that approach of knowing who/when users looked up their files is not something you need to maintain, the [Form Connector’s Delete an Entry step](https://gravityflow.io/docs/?d=/article/201-delete-an-entry) can easily let you delete the lookup after a set period of time.

Hope that helps!  
Jamie

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [March 13, 2022, 6:47pm UTC](https://community.gravityforms.com/t/viewing-a-previously-uploaded-file/11841/4 "2022-03-13T18:47:48Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
