Home › Forums › General Issues › Issues with multiples ACF Form › Reply To: Issues with multiples ACF Form
You need to use a different value for post ID in one of your forms
if( $post_id != 'new' )
{
return $post_id;
}
This is the same in both functions, only one of your filters will ever run.
Use unique “post_id” values, like “new_cpt_one” and “new_cpt_two”
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.