Front End Submission Deletes Images on Submit For Single Image fields

Support MB Frontend Submission Front End Submission Deletes Images on Submit For Single Image fields

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32043
    OmniOmni
    Participant

    I'm not sure if why,
    On my frontend submission form, when choosing an image, it deletes the actual image being uploaded

    The field is a 'Single Image' type, and 'save value' is checked

    $field = 'title';
    $metabox_id = 'agency-listing';
    $form = '[mb_frontend_form ajax="true" post_id="'.$post_id.'" id="'.$metabox_id.'"]
    
    ';
    
    echo do_shortcode($form);
    
    ?>
    #32044
    OmniOmni
    Participant

    Force Delete is also checked, but this shouldn't be the case if I am trying to upload it?

    #32045
    OmniOmni
    Participant

    Update:

    Disabling force delete fixed the issue, but this means if it is to be deleted, the media stays

    The issue I have is:
    if force delete is enabled:
    upon uploading the image on the field and clicking on save on the frontend form, it does not save the image, but deletes it

    #32072
    Long NguyenLong Nguyen
    Moderator

    Hi Omni,

    Thank you for your feedback.

    I got the issue. Please remove the attribute ajax in your frontend shortcode to save the image. I've escalated this issue to the development team to fix it in the next update.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.