Hi there, I am trying to create a checklist of things to display completion of a project. I want to show the ACF checklist on the front end where an editor user can go through the checklist and check off that each task has been completed.
The bigger scenario is to show a complete type circle graph like you have on the forum here.
So could you please point me in the direction to display the back-end check boxes to be editable so the editor can check off each one on the front end. I need these to obviously auto save without a button to save on the front-end.
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.