Home Forums Front-end Issues Class "hidden-by-conditional-logic" is not added


Class "hidden-by-conditional-logic" is not added

  • Hello,
    i have a problem with the conditional logics.

    php code

    acf_form( array( ‘form’ => false, ‘id’ => ‘box_1’, ‘post_id’ => 111, ‘field_groups’ => array( 37 ) ) );

    When the page is loaded, all fields are visible because the class hidden-by-conditional-logic is not added. Only when i changed something (dropDown menu) the class “hidden-by-conditional-logic” are added to the the fields.

    – i disabled all Plugins -> same problem
    – i changed the theme to “” -> same problem

    I have no JS errors etc.

    Any ideas?

  • Hi @manu

    I’m afraid I can’t reproduce this issue on my end. Have you added the acf_form_head() function on top of your template? This page should give you more idea about it:

    Thanks 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Class "hidden-by-conditional-logic" is not added’ is closed to new replies.