In this case, you need to set the form option to
false and add the form and submit button tag manually. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/acf_form/. It should be something like this:
<form id="post" class="acf-form" action="" method="post"> <?php acf_form(array( 'field_groups' => array(7), 'form' => false, )); ?> <?php acf_form(array( 'field_groups' => array(9), 'form' => false, )); ?> <div class="acf-form-submit"> <input type="submit" class="acf-button button button-primary button-large" value="Update"> <span class="acf-spinner"></span> </div> </form>
I hope this helps 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.