• Hi,

    I’m having troubles getting dynamic conditions to hide fields based on a Custom User Meta that i’ve created in ACF.

    In the user fields i’ve created a checkbox of 4 options in the user profile.
    Checkbox Field name – Viewable_Price
    Option 1- UK1
    Option 2- UK2
    Option 3- UK3
    Option 4- UK4

    I have created a Custom Post type – with the following
    UK Price 1
    UK Price 2
    UK Price 3
    UK Price 4

    On the post page, I want to only show the prices that are ticked in the user’s profile. I’ve tried setting this up using the User Meta function, For the key, I use viewable_parts, Hide when Condition, Does Not Contain, Text : UK1.

    The product will not show any value nomatter if the box is checked or not checked in the test user profile.

    Debug Info: Element:text-editor-866d1ed (widget)
    DynamicTag-Tag:user-info
    DynamicTag-Key:
    DynamicTag-Value:
    DynamicTag-Value-Raw:
    Check-Value:UK Price 1
    Check-Value2:
    Condition-Type:default
    Condition:Hide if not_contains
    Condition met:yes

    Thanks in advance for any help!

    • This topic was modified 3 years, 12 months ago by uprisedig.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Dynamic Conditions by User Meta’ is closed to new replies.