Home › Forums › General Issues › Front end field checkbox with: Mark as Read › Reply To: Front end field checkbox with: Mark as Read
What you’re asking for is more complicated than creating a form or a simple script.
You would need to have a field of some kind that saves values specific for each user. This field would need to be able to store multiple values so that every post they mark as read would be recorded…. a relationshipt field
The alternative is to have a field on every post that stores multiple values to record every user that has marked it as read… a user field
Then you would need to create an AJAX script that updates this field, whichever way you decide to go, when the user checks or unchecks this box.
When showing this field you’d need to see if it should be checked or unchecked by comparing the post ID with the field you decide to use for this.
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!
The most recent ACF Chat Friday featured a live demo of how to register CPTs directly in the plugin, one of our most requested features. Check out the summary below for a replay of the demo, and don’t forget to register for the next session! https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 9, 2023
© 2023 Advanced Custom Fields.