Home › Forums › Front-end Issues › create new taxonomy with acf form not new post › Reply To: create new taxonomy with acf form not new post
I solve this. Except one problem. Now i’m using next code for form
<?php acf_form(array(
'post_id' => 'nova_narocilnica',
'field_groups' => array(
'group_5f475552ca375'
),
'post_title' => true,
and working well and then with pre_save filter i add manualy this acf filed to database (i cerate new term to custom taxonomy). But problem is when i refresh this page where i have this form included i get in inputs the latest saved values. But i save this values for custom taxonomy not to this page, so why then i get latest saved input values.
When i go researching i find that if i change 'post_id' => 'nova_narocilnica',
change to something else the input are blank but still when i submit form it also save to this page. why?
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.