Custom Fields
Re-Envisioned
Support MB Frontend Submission How can I mannually save uploaded image or file before redirect

  • Creator
    Topic
  • #27907
    Resolved calpaq
    Participant

    Hi Support,

    I am developing a solution to upload the image or document for a user using mb frontend plugin for our client, can you please tell me a method for how to save the image fields and file fields instead of auto saving.

    Regards,
    Calpaq

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #27918
    Long Nguyen
    Moderator

    Hi Calpaq,

    Can you please give more details? Do you want to allow users to upload images without creating a post?

    #27927
    calpaq
    Participant

    Hi Long,
    I have a form for users to fill up having some personal information and also want them to upload their documents with that, so basically I am creating a custom post type post and also want users to upload the documents attached with the post, but I want to handle it with the mannual saving on the client server there are some problems that was not allowing to save the data automatically I have mannaged to save the text data posted by fields but not able to save the uploaded docs/images can you give help me in this with some example?

    Thanks & Regards,
    Calpaq

    #27946
    Long Nguyen
    Moderator

    Hi Calpaq,

    If you want to save the file upload in a custom folder, please use the field type file. If you want to do something before saving the post, please take a look at some hooks of the frontend form https://docs.metabox.io/extensions/mb-frontend-submission/#hooks-1

    I hope that helps you with your case.

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