Support Forum
Support › Meta Box Group › Broken MB Conditional Logic - Meta Box Group
Hi there,
I am using a MB Group inside a MB Frontend Submission form. Within my MB Group subfield settings I use some basic MB Conditional Logic like this 'hidden' => [ 'description', '=', '' ]
And 'visible' => [ 'redeemable', 'Online']
to control the visibility of certain fields.
Since the recent upgrade to to MB 5.10.1 and MB AIO 1.30.1 this Conditional logic has NO EFFECT?
I can also confirm that in my build there are no visible Browser Console Errors or PHP errors within my debug.log relating to this issue.
Prior to this upgrade the MB Conditional Logic was working perfectly fine.
Thanks
Hello,
There is an issue with the Conditional logic in the current version. We will have a release next week to fix the issue. After that, you can recheck the issue on your site.
Thank you.
I have this problem.
array(
'type' => 'select',
'id' => 'type',
'name' => esc_html__( 'Type', 'wikilogy' ),
'inline' => true,
'multiple' => false,
'options' => array(
'simple-text' => esc_html__( 'Simple Text', 'wikilogy' ),
'image' => esc_html__( 'Image', 'wikilogy' ),
'image-gallery' => esc_html__( 'Image Gallery', 'wikilogy' ),
'image-slider' => esc_html__( 'Image Slider', 'wikilogy' ),
'video' => esc_html__( 'Video', 'wikilogy' ),
'audio' => esc_html__( 'Audio', 'wikilogy' ),
'link' => esc_html__( 'Link', 'wikilogy' ),
'code' => esc_html__( 'Code', 'wikilogy' ),
),
),
array(
'type' => 'button_group',
'id' => 'inline',
'name' => esc_html__( 'Inline', 'wikilogy' ),
'inline' => true,
'std' => 'default',
'options' => array(
'default' => esc_html__( 'Default', 'wikilogy' ),
'1' => esc_html__( 'True', 'wikilogy' ),
'0' => esc_html__( 'False', 'wikilogy' ),
),
),
array(
'type' => 'image_advanced',
'id' => 'image',
'name' => esc_html__( 'Image', 'wikilogy' ),
'inline' => true,
'force_delete' => false,
'max_file_uploads' => 1,
'max_status' => 'false',
'image_size' => 'thumbnail',
/*'visible' => array( 'type', '=', 'image' ),*/
),
not working..
Hi Peter,
thanks for letting me know. Look forward to the fix 🙂