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 and gform_entry_post_save along with the GFAPI 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 with its’ Update Fields step type 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 can easily let you delete the lookup after a set period of time.
Hope that helps!
Jamie