• Resolved juxprose2

    (@juxprose2)


    Here is the user flow that creates a duplication of the uploaded file:

    1. User part fills out the form fields, including some File Upload (Ajax / plugin) fields
    2. User hits “Save & Continue” using the default GF functionality
    3. User is sent an email with a link to continue filling out the form
    4. User views the saved form, and each File Upload field, showing the filename and “remove” link, is duplicated twice, see: https://cl.ly/00312K3e1v2K

    Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ovann86

    (@ovann86)

    Hey,

    It sounds like the script is being triggered twice for some reason.

    I’m not able to re-produce this on the demo website – but what I’ll do is try adding a check so the preview and remove button are only created once, even if it’s triggered twice.

    Thread Starter juxprose2

    (@juxprose2)

    Thanks.

    This behaviour also happens with this user flow:

    1. Upload file, but leave another required field blank.
    2. GF triggers error messages
    3. The uploaded file is duplicated

    Thank you

    Plugin Author ovann86

    (@ovann86)

    Hey,

    I was able to manually reproduce the issue and find a solution – I’ll push out an update shortly.

    Just a note, in case in the future you find issues with other plugins – it’s almost as if the form is triggering the ‘gform_post_render’ javascript hook twice, which is not normal.

    Thread Starter juxprose2

    (@juxprose2)

    Thanks for the update, this has fixed both issues for me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Save & Continue / File Upload – duplication’ is closed to new replies.