Conditional logic extension not working on radio type field

Support MB Conditional Logic Conditional logic extension not working on radio type field

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #14382
    baraanajjar@gmail.com[email protected]
    Participant

    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

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.