Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 421 through 435 (of 3,702 total)
  • Author
    Posts
  • in reply to: Custom Fields are not saving to Custom Table #17836
    Anh TranAnh Tran
    Keymaster

    Hi,

    Thanks for your feedback. I've fixed it in the latest version of Custom Table & Term Meta. Please update. The new version for AIO is coming tomorrow.

    in reply to: Form Validation Not Working in Custom Post Type #17828
    Anh TranAnh Tran
    Keymaster

    Hi Kiran,

    I'm afraid there's no solution for it yet. Gutenberg seems to have bad support for live validation. Here are several issues opened on Gutenberg's Github repo:

    https://github.com/WordPress/gutenberg/issues/5883
    https://github.com/WordPress/gutenberg/issues/12692

    in reply to: List custom group field by month ascending #17827
    Anh TranAnh Tran
    Keymaster

    Hi Brian,

    Real quick, can’t wait for the 3rd hotel booking case study post

    The technical part is done. We're finishing some details in the post and will publish it soon.

    and also would be great to see a 2020 roadmap post like you did in years past

    Yes, we're planning to do the same this month. Timeline is quite tight in the last couple of months :(.

    Add the ability for multi select to the date field

    The problem is that the jQueryUI datepicker library doesn't support selecting multiple dates. I suggest setting the date field cloneable, so you can add more dates if you want.

    If you want to query them, then there are 2 options (FYI, cloneable fields save data in serialized format, which makes normal query useless):

    1. Using a plugin such as SearchWP/FacetWP (we have integrations for both)
    2. Using another custom field. The idea is that when saving post, you get the saved dates, and save it into another field (plain text in any format you want)

    2) Combine / merge two date field outputs. If I had a “start date” and “end date” how would I merge the two so the output would look like, May 24 – 29, 2020 or May 31 – June 4, 2020? So that I could then query by date and display all dates for say “May”.

    You can combine the way you want. I'd suggest using something like "2020-05-10|2020-06-01", e.g. separating dates by a special character (|, :, #, @) and format dates in a standard format (Y-m-d). That way you can query by values.

    3) Make “group fields” available within the select advanced field options.

    Another way to think about this issue is using the Conditional Logic extension. E.g. when you select a value in the select advanced field, then show the corresponding group.

    I hope my answers give you some ideas to implement that. These are advanced (and rare) use cases, and need some creative thinking.

    Anh TranAnh Tran
    Keymaster

    Hey guys, thanks for your feedback. This bug is fixed here.

    in reply to: Custom Fields Don't Display as Dynamic Data in Elementor #17812
    Anh TranAnh Tran
    Keymaster

    Hi Matt,

    Do you mean “dynamic tags” just the text field with the dynamic data link right?

    It's not only text field, but also image field, gallery field, etc. Wherever a dynamic data, the plugin works.

    I now can’t even get the custom fields to save any data in the basic post page of WP

    Can you record a video with that (maybe using https://www.loom.com)? I couldn't replicate it on my localhost.

    in reply to: Strange wysiwyg behavior inside group #17802
    Anh TranAnh Tran
    Keymaster

    Hi Jackky, let me check it and will get back to you soon.

    in reply to: Meta order #17801
    Anh TranAnh Tran
    Keymaster

    Hi, we have the context parameter for meta boxes, which you can use to load meta boxes with priority. For meta boxes with the same context, you can try setting keys for meta boxes array, like this:

    add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) {
        $meta_boxes['1_general'] = ...;
        $meta_boxes['2_social'] = ...;
        return $meta_boxes;
    } );
    in reply to: Custom Fields Don't Display as Dynamic Data in Elementor #17800
    Anh TranAnh Tran
    Keymaster

    Hi Matt,

    I see you're using a widget called Dynamic Field in Elementor. It's not what's we support. We support dynamic tags in Elementor Pro which looks similar to this:

    https://imgur.elightup.com/FMDqREH.png

    For more details, please see the video on this page:

    https://metabox.io/plugins/mb-elementor-integrator/

    in reply to: Override MetaBox Method #17799
    Anh TranAnh Tran
    Keymaster

    Hi Dave,

    I'd suggest creating a custom field type that extends the taxonomy field type. We have a documentation for that here. You can overwrite the default methods of the plugin and write your own.

    in reply to: Form Validation Not Working in Custom Post Type #17798
    Anh TranAnh Tran
    Keymaster

    Hi Kiran,

    Are you using Gutenberg? The validation doesn't work for Gutenberg yet because Gutenberg doesn't have a way to check the values before submission via Ajax.

    Anh TranAnh Tran
    Keymaster

    Hi Robert,

    am I to understand that the MB Custom fields are NOT searchable at all, unless we get FacetWP?

    Yes and no.

    For simple fields (non-clonable and non-groups), they're searchable using meta query of WP_Query.

    For clonable fields and groups (and also fields in the custom table), the data is stored in the serialized format, which makes the meta query useless. FacetWP resolves this problem quite well.

    in reply to: Block doesn't render on frontend #17784
    Anh TranAnh Tran
    Keymaster

    I'm afraid it's not possible. All meta boxes and fields when registered will be added to a registry. That makes the helper functions to be able to find them to get the field settings and get field value. It's an integral part of the plugin and can't be disabled.

    in reply to: Preview picture #17781
    Anh TranAnh Tran
    Keymaster

    Hi Jackky, it's not available yet as this is a new feature in Gutenberg. I'll add it to the next version of MB Blocks.

    in reply to: Form Validation Not Working in Custom Post Type #17780
    Anh TranAnh Tran
    Keymaster

    Hi Kiran,

    As your field has $prefix, you need to set the ID $prefix . 'name' in your validation rules.

    in reply to: Block doesn't render on frontend #17779
    Anh TranAnh Tran
    Keymaster

    Hi Jackky,

    The condition is_admin() should never be used. It prevents the fields/settings available for retrieving the data on the front end.

Viewing 15 posts - 421 through 435 (of 3,702 total)