Support

Account

Home Forums Front-end Issues acf_form() within another form not working Reply To: acf_form() within another form not working

  • Hi @gival146

    When you set 'form' => false, ACF won’t handle the form submission anymore, so you need to process the data yourself.

    You can update the custom field by using the update_field() function. To learn more about it, kindly check this page:https://www.advancedcustomfields.com/resources/update_field/. Also, please don’t forget to use the field key instead of the field name for the selector.

    If you were using a plugin to add the existing form, then you need to execute the update_field() function when the plugin is saving the submitted data. In this case, could you please ask the plugin author how to execute custom code when it’s saving the form?

    I hope this helps 🙂