Home › Forums › Front-end Issues › "Non unique ID"-problem for hidden ACF fields when using multiple forms on page › Reply To: "Non unique ID"-problem for hidden ACF fields when using multiple forms on page
There currently isn’t a way to address this. These hidden fields are uses in AJAX and PHP code when a form is submitted. They need to be available in each form. If they were prefixed then JS and PHP would not be able to easily use them.
Are these forms that must be separate forms with their own submit button? Do they all create and update the same WP object? A single form with all of the fields combined would currently be the only way to solve this issue.
I suggest that anyone needing to have multiple form on a page contact the developer here https://www.advancedcustomfields.com/contact/
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.