WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms - Update Post
File upload bug - user had to re-upload file (12 posts)

  1. Morgan Kay
    Member
    Posted 1 year ago #

    I have a form where users can upload a file (required field), which is then incorporated into a post. I'm using this plugin to let them edit their post, and when they do, the file upload field is blank and they have to re-upload the file before they can save their changes. Is this expected behavior? Is there any way around this?

    http://wordpress.org/extend/plugins/gravity-forms-update-post/

  2. Zoe Rooney
    Member
    Posted 1 year ago #

    I'm currently battling the exact same problem. Saving the update form with no file selected clears out the existing file entry.

  3. jcow
    Member
    Posted 1 year ago #

    Yeah. This is a problem I am working on also... Getting ready to open the code. Hopefully it won't be too complex cause it doesn't look like this plugin is supported anymore...

  4. jcow
    Member
    Posted 1 year ago #

    This is my update.

    Overview | Download

    This is still being tested by me, but it is working for what I need so far. I needed to remove GET variable dependancy and to be able to update files. The file part isn't very graceful, but it is working.

  5. Morgan Kay
    Member
    Posted 1 year ago #

    Thanks so much for this! It definitely helps, but if the file upload field is required (which it is on my form), if you hit submit without uploading a file, it still gives you an error message about required fields. Any ideas what to do about that?

  6. jcow
    Member
    Posted 1 year ago #

    Didn't think of that...

    Will look at it this evening.

  7. jcow
    Member
    Posted 1 year ago #

    Sorry. I ran out of time and this completely slipped off my radar. I still need to take a look. Hopefully later this morning.

  8. wpoo
    Member
    Posted 8 months ago #

    jcow,

    Thank you for digging into this plugin and releasing an update. You made my day(in a happy, positive way!).
    The image/post-thubnail upload is working fine, but it does not show up in the update-form, so it's not possible to delete it within the update-post-form.

    Nevertheless great work. The independence from GET is a great improvement.

  9. jcow
    Member
    Posted 7 months ago #

    I completely rewrote this plugin almost from scratch here:
    https://bitbucket.org/jupitercow/gravity-forms-update-post

    It has thumbnails and deletes now. Also shortcode to activate and better security on the get parameter.

  10. Alex Moss
    Member
    Posted 2 months ago #

    I have a form with up to 50 image posts, but only the one set as the featured image appears back in the form when populated. Why is this?

    Also, multiple column lists do not populate either

  11. jcow
    Member
    Posted 2 months ago #

    So just to note. When you create a field as "Post Fields > Image", they will never show up unless the image is Featured. There is no way to track these images, so there is no way to continue controlling them and pull them back into the update form. They have to be "Post Fields > Custom Field > File Upload".

    And then I can't remember how this plugin supports them exactly, but this was part of why I began rewriting it into the bitbucket version.

    And Lists should be fixed. They weren't supported at all, but should be working the latest version.

  12. clay123
    Member
    Posted 2 months ago #

    I use WP Better Attachments plugin. It makes handling attached images simple.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic