Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,996 through 2,010 (of 4,839 total)
  • Author
    Posts
  • in reply to: Adding tabs to front end forms #32155
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Is it possible to separate a form into tabs/sections on a front end form? e.g. step 1-4 (my details, billing, shipping payment)

    It is possible. You can use the extension MB Tabs to create tabs for the custom fields to show on the frontend.

    if it is then is it possible to validate each tab before allowing the user to progress to the next step/tab?

    No, the MB Tabs extension does not support a button to jump to the next step/tab. You can create your own JS code to do that.

    in reply to: File Upload field do not show in admin Column #32154
    Long NguyenLong Nguyen
    Moderator

    Hi,

    I see the issue. You need to register the field artiste_image before the field file_upload_ok to show the admin column after the field artiste_image.

    function your_prefix_function_name( $meta_boxes ) {
        $prefix = '';
    
        $meta_boxes[] = [
            'title'      => __( 'Demande de résidence', 'your-text-domain' ),
            'id'         => 'cie-submit',
            'post_types' => ['espace-cie'],
            'fields'     => [
                [
                    'name' => __( 'Description du projet de résidence', 'your-text-domain' ),
                    'id'   => $prefix . 'description_du_projet_de_residence',
                    'type' => 'wysiwyg',
                ],
                [
                    'name'          => __( 'Image', 'your-text-domain' ),
                    'id'            => $prefix . 'artiste_image',
                    'type'          => 'image',
                    'admin_columns' => 'after title',
                ],
                [
                    'name'          => __( 'File Upload ok', 'your-text-domain' ),
                    'id'            => $prefix . 'file_upload_ok',
                    'type'          => 'file_upload',
                    'admin_columns' => [
                        'position' => 'after artiste_image',
                        'title'    => 'Dossier',
                    ],
                ],
                ...
            ],
        ];
    
        return $meta_boxes;
    }
    in reply to: Checboxlist Bug #32145
    Long NguyenLong Nguyen
    Moderator

    Hi,

    You are right, the option value should be included only numbers, letters, and underscores (and rarely dashes). Some special characters will not be processed and saved.

    in reply to: License Management Questions #32144
    Long NguyenLong Nguyen
    Moderator

    Hi Sergio,

    Please follow this article to understand our license system works https://metabox.io/meta-box-update-licensing-system/

    in reply to: Form Fields and Vanilla JS #32143
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    We are still using jQuery code in some extensions and in the Meta Box plugin to use the jQuery extensions like date picker. Rewriting all the code by vanilla JS would take a lot of time but it is not impossible. You can send your feedback here https://trello.com/b/OCOz26GM/meta-boxs-public-roadmap
    and the development team will consider adding it to the roadmap.

    Long NguyenLong Nguyen
    Moderator

    Hi,

    I have had an experience with a similar issue before, the way to resolve it is to create a new field group and assign the post type. Can you please confirm that works?

    in reply to: Custom Post Type SVG Icon (base64 encoded) #32132
    Long NguyenLong Nguyen
    Moderator

    Hi Luca,

    Here is an example SVG icon in base64 format

    data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMTI2cHgiIGhlaWdodD0iMTI2cHgiIHZpZXdCb3g9IjAgMCAxMjYgMTI2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMjYgMTI2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxyZWN0IHg9IjEuMDk1IiB5PSI5OC4yMjQiIHdpZHRoPSIxMjMuODEiIGhlaWdodD0iMTkuMjc1Ii8+DQoJPHJlY3QgeD0iMS4wO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CUM2Ny4yNzQsODAuMjQ3LDY3LjkyNyw4MC45LDY4LjczNCw4MC45eiBNODYuNjM4LDEyLjg5aDEzLjEzOXYzLjE4Nkg4Ni42MzhWMTIuODl6Ii8+DQo8L2c+DQo8L3N2Zz4NCg==

    in reply to: Can't save metabox #32131
    Long NguyenLong Nguyen
    Moderator

    It could be. You can try to save some fields to the custom table, if it works, you can follow this article to increase the PHP setting max_input_vars to resolve this issue.
    https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/

    in reply to: File Upload field do not show in admin Column #32129
    Long NguyenLong Nguyen
    Moderator

    Hi,

    I do not see that issue on my end. Can you please share the code that creates the file upload field before and after re-ordering?

    Long NguyenLong Nguyen
    Moderator

    Hi Mike,

    Thanks for getting in touch.

    MB Custom Post Type extension just helps users to create a new CPT visually instead of using the WordPress function register_post_type(). It does not do anything outside from the WP documentation.

    Following the support discussion from Anh Tran with you via Facebook chat, I think the issue comes from the single page and archive post type page when they have the same slug. It relates to how did you set up the page and post type, not coming from the extension itself. You can also deactivate Meta Box plugins and register the post type by using the code and re-check the issue.

    If you are feeling tough to customize your site, you can create a service request, our developers will help you with an extra fee.

    Refer to our support policy https://support.metabox.io/topic/support-policy/

    in reply to: Use Current Post ID as a QUERY ARG #32119
    Long NguyenLong Nguyen
    Moderator

    Here is how it works on my end https://share.getcloudapp.com/llukWYRL

    in reply to: MB Conditional Logic is not working in Customizer #32113
    Long NguyenLong Nguyen
    Moderator

    Hi,

    The conditional logic works as well on my site, screen record https://share.getcloudapp.com/xQujoZyN

    You can try to deactivate all plugins except Meta Box, MB extensions and switch to the standard theme of WordPress to re-check this issue.

    in reply to: List taxonomy of a custom field #32112
    Long NguyenLong Nguyen
    Moderator

    Hi,

    You can use the WordPress function to get the term link https://developer.wordpress.org/reference/functions/get_term_link/

    Insert a field from the tab Insert Field only works on its location. Please read more here
    https://docs.metabox.io/extensions/mb-views/#main-query
    https://docs.metabox.io/extensions/mb-views/#custom-query

    in reply to: std value not working for Numeric field #32111
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks, I see that. Please use the code instead of the builder. I will inform the development team to support this case in future updates.

    in reply to: ℹ️It is possible to filter clonable nested group field? #32110
    Long NguyenLong Nguyen
    Moderator

    Hi Hazmi,

    In short, it is not possible. You can filter to the top group field only.

Viewing 15 posts - 1,996 through 2,010 (of 4,839 total)