I am using multiple acf_form
calls to pull fields into different div
on the same page.
This causes a duplication of the input[type=”hidden”] that are required for the POST request.
<?php
$options = array(
‘fields’ => array( ‘first_field’, ‘second_field’ ),
‘form’ => false,
‘show_hidden_inputs’ => false, // proposed argument
);
acf_form( $options );
?>
Could I request an argument for acf_form
to prevent output of the hidden inputs?
I just leave a answer here to say that I would also love to have a way to avoid duplicate ID when multiples acf_form()
are used.