Home › Forums › Front-end Issues › How do you create post_title from another field(s) in ACF Pro? › Reply To: How do you create post_title from another field(s) in ACF Pro?
@robnero Nope. I tried that too, but I don’t think the $_POST variables have been established before the form submits. So they can’t be passed to acf_form_head before they exist. I may be wrong on why, but it didn’t work in testing.
As an aside, using ‘field_1’, ‘field_2’, etc. Doesn’t work at all. At least not filtering with pre_save_post or update_content_value. I’ve only had success with the nonsense-looking field names I pull off of the source code HTML that looks like ‘field_5419e384411cb’ or something similar.
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.