Custom Fields
Re-Envisioned
Support Meta Box Conditional Logic Conditional logic extension not working on radio type field

This topic contains 0 replies, has 1 voice, and was last updated by  baraanajjar@gmail.com 2 months, 3 weeks ago.

  • Creator
    Topic
  • #14382

    Hi support i am using the conditional logic extension on radio type field it not hide the respective fields please check.

    
    array(
                    'id' => 'section_select',
                    'name' => esc_html__( 'Section' ),
                    'type' => 'radio',
                    'required'   => true,
                    'class' => 'col-md-8',
                    'placeholder' => esc_html__( 'Select Section' ),
                    'options' => array(
                        'Individual' => 'Individual',
                        'Companies' => 'Companies',
                        'Vip' => 'Vip',
                    ),
                ),

    and the fields which i want to hide when user click on ‘Companies’ => ‘Companies’, radio option.

    array(
                    'id' => 'quantity',
                    'type' => 'number',
                    'name' => esc_html__( 'Quantity' ),
                    'class' => 'col-md-6',
                    'placeholder' => esc_html__( 'Quantity'),
                    'hidden' => array( 'section_select', '!=', 'Companies' )
                ),  

    Thanks

You must be logged in to reply to this topic.