• Hello,

    'type'      	=> 'post',
       'post_type' 	=> 'cpt_test',
       'field_type'  	=> 'select_advanced',
       'multiple'    	=> true,
       'placeholder' 	=> __( 'Select an Item', 'seo-monitor' ),
       // Query arguments
       'query_args'  => array(
                              'post_status'    => 'publish',
                              'posts_per_page' => - 1,
       )

    and then validation rule: required is not working, you can submit post without choosing a custom post type. Is this a known bug or did i something wrong?

    By the way i have the same problem with type=”checkbox_list” (then the red star is also missing)

    Thanks for your help.

    https://www.ads-software.com/plugins/meta-box/

  • The topic ‘Validation check required not working when using type="post"’ is closed to new replies.