Home › Forums › Bug Reports › acf_form() id not being set from $args › Reply To: acf_form() id not being set from $args
Hi E,
Understood. In my use case though, there are going to be multiple forms on a single page, in an accordion.
<accordion>
<panel>
<acf_form()>
</panel>
<panel>
<acf_form()>
</panel>
</accordion>
It will actually be a 8 step form. Anyways, for this, it is good to know how to set the ID for the form so I can tie specific front end js validation checks to specific forms on the page. John’s research helps with this, but the documentation on the acf_form page, at least to me, is not very clear. Normally if I’m told I’m setting the id of the form in $args, I’d expect to see that in <form id=””>.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.