Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,221 through 2,235 (of 3,867 total)
  • Author
    Posts
  • in reply to: Custom upload_dir for Frontend Submission #43739
    PeterPeter
    Moderator

    Hello,

    In the frontend, before submitting a post, the post ID is not created so it won't work as your requirement. I think you can create a custom PHP code to check if the file is not located in a post ID folder, then create a post ID folder and move the file there.

    in reply to: Validation not working #43738
    PeterPeter
    Moderator

    Hello Yasmine,

    Do you use the validation of Meta Box as in the documentation? I don't see that in your code.
    https://docs.metabox.io/validation/

    Also, supporting a customization code (second button) for your specific needs is beyond our scope. You can submit a customization request via the contact form below, our development team will help you with an extra fee.
    https://metabox.io/contact/

    in reply to: Checklist tree for taxonomy #43737
    PeterPeter
    Moderator

    Hello Yasmine,

    If you want to show the child item when selecting the parent item, please use the field type select_tree.

    PeterPeter
    Moderator

    Hello,

    I'm discussing this with the development team to give more examples of this function. I will get back to you later.

    in reply to: whats wrong with my validation? #43720
    PeterPeter
    Moderator

    Hello,

    As I mentioned above, the remote validation only supports validating a single field only. It does not validate by comparing two field values. You can create your own JS code to compare two or more field values.

    The sanitization doesn't notify the user after processing the value but you can access all subfield values with this feature.

    in reply to: Label class wrapping my custom_html #43719
    PeterPeter
    Moderator

    Hello,

    I suggest you use the Inspect tool of the browser to check the HTML structure and create a correct CSS code https://developer.chrome.com/docs/devtools/open/

    If you want to target the label of custom HTML field, you can try this CSS selector:

    .rwmb-custom_html-wrapper label {
     ...
    }
    in reply to: View from relationship, one side not displaying anything #43715
    PeterPeter
    Moderator

    Hello,

    On the Award post, please change the relation side to to, like this

        'relationship': {
            'id': 'proyectos-y-premios',
            'to': post.ID,
         }

    that means get Project posts related to this Award post.

    in reply to: whats wrong with my validation? #43714
    PeterPeter
    Moderator

    Hello,

    We use the validation JS to validate the input value from the user. The group field works as a wrapper field and there isn't an input for this field. Also, it isn't possible to compare two current field values when submitting. It only takes one field value and sends it to the Ajax per field.

    If you want to compare two fields when submitting, please take a look at the Sanitization feature https://docs.metabox.io/sanitization/

    in reply to: Orders Page When WooCommerce HPOS Is Enabled #43713
    PeterPeter
    Moderator

    Hello Bryan,

    When enabling the HPOS feature, the order page works like a settings page and the data is synced to the custom table of WooCommerce so the field group won't display there. I will inform the development team to consider supporting this feature in future updates.

    in reply to: Custom taxonomy not showing terms on edit page #43712
    PeterPeter
    Moderator

    Hello,

    Please share your site credentials via this contact form https://metabox.io/contact/
    I will take a closer look.

    in reply to: Conditional logic #43706
    PeterPeter
    Moderator

    I'm sorry about that but I cannot check if the MB conditional logic works with all custom code you made on your site, it is beyond our scope of support.
    To reproduce the issue, please just create some simple fields and test it on the same page without the custom code as I mentioned above https://support.metabox.io/topic/conditional-logic/?swcfpc=1#post-43678

    in reply to: Custom taxonomy not showing terms on edit page #43705
    PeterPeter
    Moderator

    Hello Joe,

    Do you use a taxonomy field for the CPT "reps" on the same editing page? Also, please try to deactivate all plugins except Meta Box, MB extension plugins, switch to another theme and recheck this issue.

    in reply to: Meta Query - Elementor #43704
    PeterPeter
    Moderator

    Hello,

    It depends on your compare operator in the meta query. You can change the operator to greater like this:

    'key'     => 'slut_dato',
    'value'   => date( 'Y-m-d', current_time( 'timestamp' ) ),
    'compare' => '>=',

    Also, I see it works with the date format Y-m-d

    in reply to: Why is my taxonomies on the right empty? #43703
    PeterPeter
    Moderator

    Hello Mats,

    Can you please share some screenshots of the issue? Is the taxonomy box a custom field of Meta Box or a default box of WordPress?

    in reply to: whats wrong with my validation? #43700
    PeterPeter
    Moderator

    Hello,

    The remote validation will work when you type something to the field so it won't work with the group field. Also, please note that the remote validation does not work with the Block editor, it works with Classic editor only.
    You can test this feature again with your field title.

Viewing 15 posts - 2,221 through 2,235 (of 3,867 total)