Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi,
This problem is caused by the validation library. It checks by the ID attribute. When cloning, we change the ID (by appending _1, _2, etc.) and thus, break the validation. We'll try to find a solution soon.
Anh Tran
KeymasterHi,
Yes, you can do that by specified the
stdvalue. This code will set the 3 inputs (clones):array( 'type' => 'text', 'id' => 'test', 'clone' => true, 'max_clone' => 3, 'std' => array( '', '', '' ) // Default values for 3 clones )Anh Tran
KeymasterDear 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!
Anh Tran
KeymasterHi zac, I've just fixed the bug with checkbox list. Please update the extension.
Anh Tran
KeymasterThank Troels for the bug and fix. We'll fix it now ๐
Update: New version is available. Please update.
Anh Tran
KeymasterDear 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.
August 8, 2017 at 11:28 AM in reply to: Custom post types without templates and pages with templates #6561Anh Tran
KeymasterHi, I think you need to separate them into 2 meta boxes. In this situation, the logic is applied to only 1 CPT. It's better to separate them.
You can put
fieldsinto a parameter to save your code, like this:$fields = array(); // Your fields for both meta boxes here $meta_boxes[] = array( 'id' => 'first-id', 'post_types' => 'page', 'show' => array(), 'fields' => $fields, ); $meta_boxes[] = array( 'id' => 'another-id', 'post_types' => 'solution', 'fields' => $fields, );August 8, 2017 at 11:25 AM in reply to: Image upload does not work with MB Frontend Submission #6560Anh Tran
KeymasterHi,
The problem with image upload in the frontend is permission. Users need to login and have the
upload_filescapability. WP doesn't allow anonymous user to browse the media library and upload there.So, I'd suggest you use the simple
imagefield, which allows uploading images, or you need to add more capabilities to allow users to upload (users still need to login though).Anh Tran
KeymasterThanks a lot for your info. I will check and fix the errors. Looks like the AIO plugin caused it.
August 7, 2017 at 2:46 PM in reply to: Conditional Logic does not work with MB Frontend Submission #6540Anh Tran
KeymasterDear ludovic,
You're right. Conditional Logic currently only works in admin. I'll check the plugin and release new update asap!
Anh Tran
KeymasterHi,
That's totally fine. There is a benefit to know coding to use the plugin and extensions better, but it's still doable if you just follow the instruction.
The refund has been issued.
By the way, can you please tell me about the 1st problem, when you just activated the plugins and see the white screen. Do you see any error? Is there any error logged?
That can help us fix the bugs for others.
Thanks
AnhAnh Tran
KeymasterAnh Tran
KeymasterDear zazezi,
Can you please try with another fresh install to test and post your code here so I can easy to replicate it?
Anh Tran
KeymasterOK, great. We'll work on that.
Anh Tran
KeymasterDear zazezi,
Can you please open the Console and copy the error if you see? If it doesn't show any error message, can you please copy your code here?
-
AuthorPosts