Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,066 through 1,080 (of 3,915 total)
  • Author
    Posts
  • in reply to: Select Choices Callback Function Executed on Front End #47271
    PeterPeter
    Moderator

    Hello Jacob,

    Do you add the field group that has the custom select field to a frontend submission form? All the field settings should be loaded in the admin area only unless the field is used in the frontend form and the field settings would be loaded in the frontend.

    in reply to: ✅unserialize(): Error - When using custom admin column #47270
    PeterPeter
    Moderator

    Hello,

    Do you add/upload more featured images to the field _thumbnail_id? Because the field type file_upload allows uploading multiple files/images.
    You can try to use the field type single_image to recheck this issue. Following the documentation
    https://docs.metabox.io/fields/single-image/

    in reply to: ℹ️Feature Request - no prefix for Subfields #47263
    PeterPeter
    Moderator

    Hello,

    Thank you for your feedback.

    I will forward this feature to the development team to consider adding it to the to-do list for the future development of the plugin.

    in reply to: Re-order posts not working #47255
    PeterPeter
    Moderator

    Hello Travis,

    You can hover over the dots, drag and drop the post to re-order it. If it doesn't work on your site, please try to deactivate all plugins except Meta Box, MB extension plugins, switch to a WordPress theme and check the issue again.

    Let me know how it goes.

    in reply to: When did ['post_id'] became ['object_id'] in the $config?? #47254
    PeterPeter
    Moderator

    Hello Yasmine,

    Yes, we change post_id to object_id for the frontend form from Meta Box AIO 1.31.0 to support the compatibility between the custom model and frontend form. That means you can submit a custom model entry from frontend.
    You can read more about this update in the changelog https://metabox.io/plugins/meta-box-aio/changelog/
    and documentation https://docs.metabox.io/extensions/mb-frontend-submission/#adding-the-submission-form

    PeterPeter
    Moderator

    Hello,

    Can you please share a screen record of the issue on your site?

    in reply to: Field pull custom table row data #47252
    PeterPeter
    Moderator

    Hello,

    If you have two or more custom tables for each field group, you can add all field group IDs to the frontend shortcode and save the field values to all custom tables when submitting or editing the post.

    in reply to: Form data and post size limit #47251
    PeterPeter
    Moderator

    Hello Nick,

    What field type accepts a base64 string? Do you save the field value to a custom table? I think the answer is related to the data type when you create the custom table rather than the field settings.

    in reply to: Conditional Logic Not Working #47250
    PeterPeter
    Moderator

    Hello,

    Is there any chance you read my request above? Please export the field group to a JSON file and share it here, I will help you check the field settings.

    in reply to: Conditional Logic Not Working #47245
    PeterPeter
    Moderator

    Hello Tanja,

    If you are using the builder, please export the field group to a JSON file and share it here. If you use the code to register the custom fields, please share the code also.
    I will help you check the field settings and conditional logic.
    Following the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import
    https://docs.metabox.io/creating-fields-with-code/

    in reply to: Field pull custom table row data #47236
    PeterPeter
    Moderator

    Hello Nick,

    I'm afraid that it isn't possible. As I mentioned above, the column name in the custom table must match the field ID when you register/create the custom field. If you want to save data to separate custom table tables with one frontend form, you can create more field groups and add their IDs to the frontend shortcode.

    [mb_frontend_form id='field-group_id_1,field-group_id_2,field-group_id_3' post_fields='title,content']

    in reply to: Custom Fields and jQuery Validation #47234
    PeterPeter
    Moderator

    Hello,

    Please share your site admin account by submitting this contact form https://metabox.io/contact/
    I will take a look.

    in reply to: Generate checkbox list choices with callback #47233
    PeterPeter
    Moderator

    Hello,

    I understand the issue. It is related to this topic https://support.metabox.io/topic/dynamically-populate-the-options-of-a-select-custom-field-base-on-global-cf/

    you need to use the WordPress function get_option() to get the settings page value (like the theme option) when creating the custom field. At this point, the helper function rwmb_meta() doesn't work.

    Here is an example

    function test_function() {
        $options = get_option( 'custom-options' );
        $value_a = $options['test_a'];
    
        $optionsA = array(
            '1' => 'Apple',
            '2' => 'Orange'
        );
    
        $optionsB = array(
            '3' => 'Cat',
            '4' => 'Dog'
        );
    
        return $value_a ? $optionsA : $optionsB;
    }

    If you use the builder, you will need to re-update the field group to update the choice for the field test_b.

    in reply to: ✅Model Search with Parent Permission Error #47231
    PeterPeter
    Moderator

    Hello Johannes,

    Thank you for your feedback.

    I can reproduce the issue on my site and I've escalated the issue to the development team to fix this. I will get back to you when I have more information.

    in reply to: Generate checkbox list choices with callback #47226
    PeterPeter
    Moderator

    Hello,

    Please ensure the option name is added to the helper function, and the separator should be underscore instead of dash. For example custom_options

    
    $value_a = rwmb_meta( 'test_A', array( 'object_type' => 'setting' ), 'custom_options' );
    

    Following the documentation https://docs.metabox.io/extensions/mb-settings-page/#using-code

    After you save the field test_a value, the $optionsA will be returned.

Viewing 15 posts - 1,066 through 1,080 (of 3,915 total)