In either case I do not have enough information to figure out why it’s not working. If you are calling acf_form_head() in the right place then AVF sees that $_POST[‘acf’] is populated and saves the values to the post ID (or other ID as needed) that is submitted which is in an hidden ACF form field. If it’s all set up correctly then I’m sure that ACF is saving values somewhere but that somewhere my not be where you expect it do be depending on where ACF thinks it should save the values.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users