I’ve set up a form on a website I’m developing for applicants to an opera program to fill out a upload audio recordings. So far it seems to function for the most part. However, I’ve noticed that when I use the default naming scheme (%filename%) it tends to cause problems when the files are uploaded to the server if, for example, the file has an apostrophe in the name (e.g. “Dio, che nell’alma infondere.mp3” becomes “Dio, che nell\’alma infondere.mp3”, which will return a 404 when a user or admin clicks on the file link). The form asks for first and last name; would it be possible to automatically save files as %First Name% %Last Name% Audio Recording 1 (m-d-y-h-i-s).mp3, or something similar?
Thank you very much; the plugin is absolutely wonderful and has otherwise deployed flawlessly.
- The topic ‘[Plugin: WordPress Form Manager] Naming uploaded files based on form data’ is closed to new replies.