Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,261 through 1,275 (of 3,839 total)
  • Author
    Posts
  • in reply to: Big issue with cloneable fields #46433
    PeterPeter
    Moderator

    Hello Yasmine,

    Can you share a screen record of the issue with validation for the cloneable subfield when you use Meta Box 5.10.1? I test your code on my demo site and the validation (required) works properly for the cloneable subfield, screenshot https://imgur.com/zxjvP8L

    in reply to: Displaying an external image from a URL field #46432
    PeterPeter
    Moderator

    Hello,

    It does

    Can you share a screenshot that demonstrates "Elementor supports displaying an external image from the dynamic tag"? Notice the dynamic tag. And with the widget of Elementor, not a widget from a third-party plugin.

    in reply to: rwmb_frontend_validate and empty ID in config #46430
    PeterPeter
    Moderator

    Hello,

    Yes, the frontend validation uses the PHP code to validate the data and it is running in the admin area then sends the result to the frontend.

    in reply to: Field inside a popup not looping through in MB View #46429
    PeterPeter
    Moderator

    Hello,

    First thing, I see the product details are displayed correctly with the Twig code. So it isn't an issue with MB Views, screenshot https://ibb.co/qJns2Px

    Second, I use the Inspect tool of the browser and see that the popup element ID isn't correct. It has ${id} variable in the HTML ID, screenshot https://ibb.co/tDnSV8W
    you can recheck your code.

    The last thing, is is a custom code and not an issue of the MB Views plugin itself so this case is beyond our scope of support. If you cannot complete the task, we offer a customization service with an extra fee. Please contact us here for more details https://metabox.io/contact/

    in reply to: cloneable fields issue #46428
    PeterPeter
    Moderator

    Hello,

    Can you share the access to view the screenshot? And let me know the page that has the frontend form on your site.

    PeterPeter
    Moderator

    Hello Dragan,

    If you have too many subfields when editing a page, it could slow down a bit to load the field settings. Using the custom table can help you to improve the loading time. You can try to use that feature.

    After that, if you still see the page loads very slow, please try to deactivate all plugins except Meta Box, MB extension plugins, switch to a WordPress theme and observe the loading time again.

    PeterPeter
    Moderator

    Hello Fredrik,

    With PHP code, you can use the filter hook rwmb_after_save_field to validate the field value.
    https://docs.metabox.io/actions/rwmb-after-save-field/

    With Javascript code, you need to create a custom code to check the two field values. Meta Box only supports validating for a single field with code. Refer documentation
    https://docs.metabox.io/validation/

    in reply to: metabox block category null in WP_Block_Type_Registry #46423
    PeterPeter
    Moderator

    You can try to deactivate all plugins except Meta Box, MB extension plugins, switch to a WordPress theme and check this issue again.

    in reply to: Conditional login in swich on 1.30.1 #46420
    PeterPeter
    Moderator

    Hello,

    I can see the issue with the conditional logic on my demo site when running Meta Box AIO 1.30.1. I've escalated the issue to the development team to check it, I will get back to you later.

    in reply to: Conditional Logic Not Working With Latest Update #46418
    PeterPeter
    Moderator

    Hello Kyle,

    Do you see any Javascript error messages in the Console tab? Also, please export the field group to a JSON file, share it here and let me know how to see the issue. I will help you investigate the issue.

    in reply to: Displaying an external image from a URL field #46414
    PeterPeter
    Moderator

    Hello,

    Does Elementor support displaying an external image from the dynamic tag? If so, you can use this with the Meta Box field URL.

    in reply to: metabox block category null in WP_Block_Type_Registry #46407
    PeterPeter
    Moderator

    Hello Nick,

    I use your code to register a new block category and it appears in the custom block as well. Please check this screenshot https://imgur.com/6nXaoHr

    echo "<pre>";
    var_dump( WP_Block_Type_Registry::get_instance()->get_all_registered() );
    echo "</pre>";
    
    in reply to: rwmb_frontend_validate and empty ID in config #46402
    PeterPeter
    Moderator

    Hello,

    The PHP code always runs in the admin area background to check the validation. If you want to use the PHP validation, you should remove the condition is_admin() in your code. Otherwise, I'm afraid that there isn't a way to support that case.

    in reply to: Cloning Max 2 #46401
    PeterPeter
    Moderator

    Hello,

    If you open the Inspect tool of the browser and check the HTML structure, the index 0 is added to the clone template. And the index 1 is added to the field where you input the value.
    This is the new feature of the cloneable field, so please update your code accordingly.

    in reply to: Sorting on date in query loop fails in Bricks Builder #46400
    PeterPeter
    Moderator

    Hello Fredrik,

    I'm afraid that it is really hard to do so. The group is used for storing data (sub-fields value) not for querying by sub-fields (sort or filter) value because the value of the group saved in the database is a serialized array.
    See more at https://metabox.io/create-group-of-custom-fields-with-meta-box-group/#how-does-the-meta-box-group-save-data.

    You should use the top field for sorting or filtering the post.

Viewing 15 posts - 1,261 through 1,275 (of 3,839 total)