Custom Fields
Re-Envisioned
Support MB Frontend Submission include 'post_title' as a field inside register_meta_boxes

  • Creator
    Topic
  • #32148
    Resolved Nicholas Cox
    Participant

    Hi

    Is it possible to include the post title inside my custom table when calling 'register_meta_boxes'

    I have created a custom table column and have assigned the field with same id 'post_title' and then removed the 'post_title' from the shortcode.

    e.g. shortcode
    [mb_frontend_form id="product"]

    e.g. of one of my fields inside 'register_meta_boxes'

    
    [
        'type'  => 'text',
        'name'  => esc_html__( 'Title', 'my-translation-table' ),  //todo: look at adding in translation file and referencing it with e.g. 'my-translation-table'
        'id'    => 'post_title', //mysql name
        'desc'  => esc_html__( '', 'my-translation-table' ),
        'class' => 'dc-post-title',
        'required' => true,
    ],
    
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.