Custom Fields
Re-Envisioned
Support MB Frontend Submission Front End Submission Deletes Images on Submit For Single Image fields

  • Creator
    Topic
  • #32043
    Omni
    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);
    
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #32044
    Omni
    Participant

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

    #32045
    Omni
    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 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 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.