Multiple form groups, or just one?

Support MB Frontend Submission Multiple form groups, or just one?Resolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34462
    danieldkdanieldk
    Participant

    I am currently building a front-end submission page, where I want a bit more control over how the form is displayed.

    For this, I am thinking of splitting the front-end submission into multiple field groups.
    However, I see that each field group gets its own submit button.

    Is there a way to only have one submit button for all field groups, and submit them so that only ONE post is created with all the custom fields?

    Or do I need to use only one field group, otherwise it won't work?

    #34488
    Long NguyenLong Nguyen
    Moderator

    Hi Daniel,

    You can add more field group (meta box) ID to the frontend submission shortcode to show them on the frontend. For example:

    [mb_frontend_form id="meta-box-id1,meta-box-id2,meta-box-id3" post_fields="title,content"]
    
    #35685
    Timo WesselsTimo Wessels
    Participant

    That was helpful, is it already stated in the documentation?

    #35687
    Long NguyenLong Nguyen
    Moderator

    Hi Timo,

    It is added to the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#faq

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