Support

Account

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?