[Plugin: Gravity Forms – Update Post] Having trouble with file upload and conditional fields
-
Thanks for the great plugin. I have created a custom post type that is populated using a Gravity Form, and I am having trouble with updating a “file upload” field. Also, conditional fields are not showing up in the “Edit” form.
I have created a Gravity form for editing the custom post, and I have the file upload field in case users want to update their submitted file. However, when a user updates the post using your plugin, it creates a new custom field with the same field name as the original file e.g.
file1 -> original-file.zip
file1 -> new-file.zipSo it is not replacing the original file upload, but instead creating a new custom field with the same name. When I edited the gravity form and selected “Unique Custom Field?”, it changed the value from a file URL to an Array. Is there a way where it can just replace the existing file URL with the new URL?
With conditional fields, what I’m finding is that when the edit form has conditional field e.g. select a category, then show the subcategories for that category – the existing values are not being selected on the edit form. Because nothing is selected, when a user clicks “Update”, they lose the original values (e.g. in the Categories case, it reverts to the default category since a selection wasn’t made).
Thanks for your help.
https://www.ads-software.com/extend/plugins/gravity-forms-update-post/
- The topic ‘[Plugin: Gravity Forms – Update Post] Having trouble with file upload and conditional fields’ is closed to new replies.