ACF has the acf_form() function that allows you to add the custom field inputs on the backend to the front end. Unfortunately, it needs you to click the save button to save the changes. If you want it to save automatically, I’m afraid you need to use AJAX and custom handler for the AJAX action. In this custom handler, you can use the update_field() function to update the custom field.
I hope this makes sense.
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!
© 2023 Advanced Custom Fields.