Support

Account

Home Forums General Issues Frontend Form not populating right in backend Reply To: Frontend Form not populating right in backend

  • Hi @brotsky_pixie

    Could you please share the code you used? Also, please don’t forget to remove the unused acf/save_post function (vbs_post_title_updater2). Also, you’re not supposed to use the ‘post_title’ option in the acf_form() arguments like this:

    'post_title' => wp_strip_all_tags($new_title2),

    The ‘post_title’ option will only receive false or true value. If you want to set it for the new post, you need to do it like this:

    'new_post'		=> array(
        'post_type'		=> 'en',
        'post_status'	=> 'publish'
        'post_title'	=> wp_strip_all_tags($new_title2),
    ),

    Or just remove it because the new title will be replaced later in the acf/save_post hook.

    Thanks 🙂