Confirmation Before Delete on front end form submission?

Support MB Frontend Submission Confirmation Before Delete on front end form submission?Resolved

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #19402
    Brian ThurberBrian Thurber
    Participant

    Is there a way to add a confirmation message like "Are you sure you want to delete this post?" after a user clicks the delete button, but before the post actually gets deleted?

    #19409
    Long NguyenLong Nguyen
    Moderator

    Hi Brian,

    There is always a confirmation box before deleting a post in the user posts dashboard page, please see my screen record
    https://www.loom.com/share/51e5b9adcafc4b74bb90c4f76867a29d

    Could you please check it again?

    #19412
    Brian ThurberBrian Thurber
    Participant

    Hey Long, I'm using a shortcode to display the post fields. Like this:

    [mb_frontend_form id="liaison_record_metabox" allow_delete="true" delete_confirmation="Your post has been deleted." edit="true" post_fields="title" label_title="Title"]

    #19418
    Long NguyenLong Nguyen
    Moderator

    Hi Brian,

    The user can delete their posts in the user posts dashboard page within the confirmation box, please follow this documentation to set up this page
    https://docs.metabox.io/extensions/mb-frontend-submission/#user-posts-dashboard

    #19423
    Brian ThurberBrian Thurber
    Participant

    The client doesn't want to use the user posts dashboard. We'd like to be able to delete the post from the post edit screen, which is working, but I'd like to ask for confirmation. Here's an image of the view I'm trying to work with.
    https://imgur.com/YqSUWXI

    #19492
    Long NguyenLong Nguyen
    Moderator

    Hi Brian,

    Thanks for the idea, I've created a feature request for the developer team to support confirmation box when clicking the button delete in the post edit screen.

    Please keep the plugin up to date and have a nice day.

    #19609
    Brian ThurberBrian Thurber
    Participant

    Just curious. Any progress on this? Thanks!

    #19613
    Long NguyenLong Nguyen
    Moderator

    Hi,

    This feature is included in the latest version of MB AIO v1.11.7 or MB Frontend Submission v3.0.0. Please update the plugin Meta Box and all the extensions to check the new feature.

    #19628
    Brian ThurberBrian Thurber
    Participant

    Awesome! Thank you!

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