• Resolved katjavolker

    (@katjavolker)


    Hi. I have a checkbox and my condition is: show section if field is not empty. Worked before updating now it doesn’t. What condition should I choose to get the right result.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rtowebsites

    (@rtowebsites)

    Hello @katjavolker,

    for us it still works, can you post us the content from the Debug-Mode and/or send a link to the affected site?

    Some more informations would be nice too.
    Wich Plugin do you use for the fields?
    Wich value does it returns when u set it as dynamic tag in a text widget?

    Thank you.

    Thread Starter katjavolker

    (@katjavolker)

    Hi, thank you for the quick reply. I am on a dev site, so unfortunately I can not provide a link. I have elementor pro installed and activated.

    The field I am using is the true/false set up in ACF conditionally placed when visiting category archive (backend). If the true/false is ticked a section assigned is supposed to show, else hidden. My condition therefor is field:ticked – show if – not empty. The field is ticked but still gives empty it does not have a dynamic value either.

    A dynamic text returns nothing.

    Element:section-8072188 (section)
    DynamicTag-Tag:acf-text
    DynamicTag-Key:field_5d24a69a8cd0f:exceptions_insurance
    DynamicTag-Value:
    Check-Value:
    Check-Value2:
    Condition-Type:
    Condition:Hide if empty
    Condition met:yes

    Plugin Author rtowebsites

    (@rtowebsites)

    Hello @katjavolker,

    the problem is not about Dynamic conditions, since this plugin just uses the values that it get. In your case it seems like acf got an Problem and do not return “1/empty” for “true/false”. Often it helps to republish the fields and post.

    When it works it should return 1 when true, nothing when false.

    Example:
    Element:section-bdedbf3 (section)
    DynamicTag-Tag:acf-text
    DynamicTag-Key:field_5d25ef0d20d8f:test
    DynamicTag-Value:1
    Check-Value:
    Check-Value2:
    Condition-Type:
    Condition:Show if not_empty
    Condition met:yes

    Hope that helps you.

    We close the issue, since it is not about this Plugin. If u need any further help, just rewrite here and we will try to help you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘If checkbox selected’ is closed to new replies.