Field not showing

Support MB Show Hide Field not showing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29111
    EddyPiVEddyPiV
    Participant

    Hi,

    I created a field group with just one checkbox field. It should be visible only for posts, and when custom taxonomy is a specific value.
    So I defined the condition as Toggle rule, see https://share.getcloudapp.com/2Nuqv6vp
    But... the field is not shown: https://share.getcloudapp.com/2Nuqv67n
    Actually, when refreshing the page, it is shown for a short while before it gets hidden.

    Removing the toggle rule, and the field is there: https://share.getcloudapp.com/12u40Rb6.

    What am I doing wrong?

    #29119
    Long NguyenLong Nguyen
    Moderator

    Hi,

    It looks like you use the taxonomy custom field in a custom metabox instead of the default meta box of WordPress, so it might not work.

    I recommend using the conditional logic option instead of Toggle rules.

    #29121
    EddyPiVEddyPiV
    Participant

    Hi,

    The custom taxonomy is a Standard WordPress Metabox. https://share.getcloudapp.com/eDuy5Ayq

    It looks like conditional logic only works for fields within the same field group. I have different field groups, as the cutsom taxonomy applies to many post types, while the checkbox field only applies to posts. With the toggle rule I can set the rule based on the custom taxonomy, with the conditional logic I cannot.

    Any suggestion?

    #29141
    Long NguyenLong Nguyen
    Moderator

    Hi Eddy,

    Please see this screen record to distinguish the default Categories box of WordPress and the Custom taxonomy of Meta Box. https://share.getcloudapp.com/nOuPRG57

    Regarding the conditional logic, it can work with the field ID from other meta boxes. But you need to add the taxonomy ID instead of the taxonomy name like the Toggle rules. Screen record https://share.getcloudapp.com/kpuDJ04o

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.