Making "Title" a required field

Support MB Frontend Submission Making "Title" a required fieldResolved

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #43982
    Roel PetraRoel Petra
    Participant

    Hi there, right now people are able to submit their posts using the front end submission without filling in the post title field. I'm using the Bricks Builder integration. There doesn't seem to be an option to enable this.

    How can I achieve this?

    Kind regards,
    Roel

    #43988
    PeterPeter
    Moderator

    Hello Roel,

    You can create a text field with the ID post_title, mark it Required and remove the post_fields from the frontend shortcode to use the custom field post title.
    Please follow the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#field-order

    #43992
    Roel PetraRoel Petra
    Participant

    Hi Peter,
    Thanks for your reply, would this keep all current already created posts?
    Thanks in advance.

    #43993
    Roel PetraRoel Petra
    Participant

    In addition to the post above this one:
    After some testing the title of the post will now be "(No Title)" after making a text field and setting the ID to post_title. This doesn't work.

    #44001
    PeterPeter
    Moderator

    Hello,

    Do you add the field ID prefix to the field group settings? If yes, the field ID is different from post_title. You can see it works properly on my end https://drive.google.com/file/d/15lRWTxyC-b397Xubx_6RTmWUK5OiIkL0/view?usp=sharing

    #44003
    Roel PetraRoel Petra
    Participant

    Yes, I've added the id to the field group settings. See here:

    Also tried adding it to the Custom Settings using "id" but didn't work either.

    #44005
    PeterPeter
    Moderator

    Hello,

    You are adding the title field in a group field as a subfield, that's why it doesn't work. Please move it to the top field and check this issue again.

    #44006
    Roel PetraRoel Petra
    Participant

    It seems that was the issue. Thanks.

    #44012
    Roel PetraRoel Petra
    Participant

    Hi Peter, small side note if I do the same for let's say the thumbnail field it doesn't show on the backend as the featured image... Is it supposed to be like that?

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