Forum Replies Created
-
AuthorPosts
-
Tan Nguyen
ParticipantDear Hazmi,
While waiting for the original update, can you please try replacing meta-box-group/group.js with this file?
https://gist.github.com/tanftw/405e373c4cd388f2f3f999fac2953501
Cheers!
Tan Nguyen
ParticipantDear Hazmi, I have fixed this issue, need to test today and you will get an update shortly.
Tan Nguyen
ParticipantDear Rebecca,
I have checked the issue and will release a patch for it soon, while you are waiting for update, can you please set clone empty start = true for the group or the wysiwyg field?
https://docs.metabox.io/cloning-fields/#making-a-field-cloneable
Cheers!
September 11, 2024 at 12:27 PM in reply to: โ Conditional logic using switch stopped working #46409Tan Nguyen
ParticipantHi RBD, can you please share your meta box code (JSON or PHP) so I can replicate it?
Cheers!
September 11, 2024 at 11:35 AM in reply to: Please FIX ! Visible condition NOT WORK after upgrade to Meta Box 5.10.0 #46408Tan Nguyen
ParticipantHi justdoit123,
We have fixed the issue in the latest version, please update Meta Box and the MB Conditional Logic plugins.
Also, please use different syntax for your conditional logic,
Your current logic:
"when": [ [ "text_1", "not contains", "" ] ],Please change to:
"when": [ [ "text_1", "!=", "" ] ],Because currently, a text always contains empty string so your logic always falsy, you you just need to check if text is not empty.
Cheers!
Tan Nguyen
ParticipantHey Infolu,
This can be achieve by using Compound Statements in Conditional Logic.
https://docs.metabox.io/extensions/meta-box-conditional-logic/#compound-statementsHere is my example, the field Address will visible when Full Name or Email has filled.
add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) { $meta_boxes[] = array( 'id' => 'personal', 'title' => 'Personal Information', 'post_types' => 'post', 'context' => 'normal', 'priority' => 'high', 'fields' => array( array( 'name' => 'Full Name', 'desc' => 'Full name', 'id' => 'name', 'type' => 'text', ), array( 'name' => 'Email', 'desc' => 'Email Address', 'id' => 'email', 'type' => 'email', ), array( 'name' => 'Address', 'desc' => 'Address', 'id' => 'Address', 'type' => 'text', 'visible' => [ 'when' => [ ['name', '!=', ''], ['email', '!=', ''] ], 'relation' => 'or' ] ) ) ); return $meta_boxes; } );November 20, 2017 at 2:26 AM in reply to: Cloneable group inheriting values from previous group #7453Tan Nguyen
ParticipantCan you please refresh or clear cache? if it still doesn't works, can you please send me your ftp info via contact form so we can login to check?
November 17, 2017 at 12:17 AM in reply to: Cloneable group inheriting values from previous group #7424Tan Nguyen
ParticipantHi guys,
I've fixed the plugin, please grab the latest version (1.5.1).
Cheers!
Tan Nguyen
ParticipantDear Yumiko,
I've fixed the bug, please download the latest version (2.2.3)
Cheers!Tan Nguyen
ParticipantHi Yumiko,
Let me check that field and answer your question within next 24 hours.
Tan Nguyen
ParticipantMeta Box is flexible. You'll need Meta Box plugin to work, if you want to ship the plugins/themes to users without downloading Meta Box, there is a method to do so.
Tan Nguyen
ParticipantDear kotofey,
We do support slide and fade in 1.5, just set toggle_type to either
fadeorslideto do so. For more information, check the documentation.Cheers!
September 9, 2017 at 9:01 AM in reply to: Conditional Logic does not work with MB Frontend Submission #6929Tan Nguyen
ParticipantHi buddy!
Please update to the latest version (1.5) which supported frontend submission extension.
Cheers!
Tan Nguyen
ParticipantDear ismail,
I've checked the Conditional Logic plugin with your code and see it worked well. Here is my screencast:
I've measured via Chrome Console and see it took ~300ms to run all login, that's acceptable. Here is my screenshot:
I've also tested via really old Macbook Air and it took me average ~450ms.
Please check if there is something affected to this.
Cheers!
Tan Nguyen
ParticipantDear ismail,
Let me check and give you an answer within next 48 hours ๐
Btw, Redux only works with their fields but Conditional Logic works with any DOM element, we also handle Column, unlimited Group so it may takes more resource.
-
AuthorPosts