Home › Forums › Feature Requests › Read-Only Field › Reply To: Read-Only Field
Stumbled on this after some brief discussion with the PublishPress Capabilities Pro folks who suggested it might be possible to do what we need with ACF alone as they don’t currently have this capability…
What we have: two custom roles, “Club Editor” and “Club Manager”, where editors generally manage a single club’s entries, and the Manager who can edit any of the clubs’ data.
What we need: for administrators and Club Managers, we need to be able to enter the date of the last check received for renewal of both membership, and insurance, for each of the clubs, and for what calendar year these funds are applicable to.
However, for the clubs themselves, they need to be able to read (but not edit) the fields, to verify the accuracy and receipt, of when their last check was received and logged, and for what calendar year those funds were applied
(so, four fields total, two for ‘date’ marking receipt of checks, and two just recording the ‘calendar year’, but view/editable by Club Manager + Administrator, but viewable-but-not-editable by Club Editor)
If I’ve been following the discussion aright, I should be avoiding using “disabled”, as in that case the field data would not be preserved across saves, but I’m still a little unsure how this should be best implemented in a current release (the enhanced message field plugin hasn’t been updated in 7 years) of ACF
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.