Rename Uploaded Files For Gravity Forms GPL Overview:
Rename uploaded files for Gravity Forms. You can create a static naming template or use merge tags to base names on user input.
We wrote a snippet that will allow you to create a dynamic naming template for your uploaded Gravity Form files. This includes the ability to prepend, append or generate from scratch custom file names. You can use merge tags to include user input in your new file names.
Here are a couple of use cases where this snippet might be useful:
- Include the name of the submitting user either before or after the file name.
- Include an event name in the file name to better categorize which files belong to which events.
For example, given an original file name of mountains.png and a template of, the final image name would be Jordan-Smith-mountains.png
There are no reviews yet.