Save progress of new or edit form automatically

Support MB Frontend Submission Save progress of new or edit form automatically

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #49153
    Nicholas CoxNicholas Cox
    Participant

    Hi

    I was wondering if there was any new feature to support auto saving progress of a from either from new or when editing? so to save and then when submitting the form will act as normal. Do i have to apply my own logic for this? maybe an auto save checkbox or is there a way to check for this in metabox using actions or hooks?

    hope that makes sense, i want to achieve similar to how facebook(meta) handles new posts for the marketplace, when you are about to create a listing it will auto save a draft and then keep all content as you go along. When the form is submitted the product is sent for review or posted.

    thanks

    Nick

    #49159
    PeterPeter
    Moderator

    Hello Nick,

    Thanks for reaching out.

    There is a setting autosave for the field group to autosave field value along with the post but it doesn't work properly now. I've escalated the issue to the development team to fix it in future updates of Meta Box plugin.

    Following the documentation https://docs.metabox.io/creating-fields-with-code/

    #49168
    Nicholas CoxNicholas Cox
    Participant

    Hi Peter,

    Ok thanks, what version did this stop working in? as i haven't updated to the latest version yet? any timeframe on it? thanks

    #49172
    PeterPeter
    Moderator

    Hello,

    For the frontend form, this is not supported. For the editing page in the admin area, I'm not sure which exact version has this issue. I will let you know when it is fixed.

    Thanks.

    #49173
    Nicholas CoxNicholas Cox
    Participant

    ah well i thought it was supported on the front end, no worries, thats a shame, what action/hooks could i use to create a custom script for myself to make this work on the front end? thanks

    #49178
    PeterPeter
    Moderator

    Hello,

    You can use some action hooks like rwmb_frontend_before_form, rwmb_frontend_after_form, rwmb_frontend_after_submit_button ... then add some JS code to the callback function to run it in the frontend form.

    Following the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#general-hooks

    #49213
    Nicholas CoxNicholas Cox
    Participant

    ok thanks, i have managed to create this and all working ok.

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