Metabox Multiple Dependency

Support General Metabox Multiple Dependency

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9208
    ismailismail
    Participant

    Hi, i want to use multiple dependency as like this:

    array(
        'type'          => 'textfield',
        "heading"       => esc_html__( "Thumbnail Title", 'mascot-core' ),
        "param_name"    => "show_title",
        'dependency'    => array(
                                array('element' => 'show_thumb', 'value' => 'true'), 
                                array('element' => 'display_type', 'value' => array('grid', 'masonry', 'carousel') )
                            ),
    ),
    

    But it is not working. So, how can i add multiple dependency.

    #9214
    Anh TranAnh Tran
    Keymaster

    Hello,

    Please use MB Conditional Logic for this purpose. The extension allows you to show/hide a field based on other fields' values.

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