I have a form where users can upload a file. I was wondering if it was possible to save those form fields as metadata in text files and then use PHP to read those files for data? What I am trying to capture is the change in versions which is a field on the form.




October 25, 2012 at 9:41 am
Actually, I've decided to go a different route and have a different question. So, at the moment, when users upload a new version of the file, it increments it. How can I set it to just override the existing file instead?
October 25, 2012 at 11:55 am
This isn't a built in option. However, our plugin uses the regular WP upload, so if you can find another plugin that will do this, Formidable will respect it.
October 25, 2012 at 3:17 pm
I am using a plugin called enable media replace, but it only appears on the edit media page. Is there hook or filter I can manipulate in order for it to appear below each upload field I have? Thanks.
October 26, 2012 at 2:04 pm
I think you'll need to contact them to ask if it would work to automatically replace a file with the same name without using the replace media link. I was thinking a plugin that uses the hooks while a file is being uploaded, but I haven't researched to see if there are any available.
Topic closed.