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: https://www.advancedcustomfields.com/resources/create-a-front-end-form/.
Thanks 🙂