Home › Forums › Feature Requests › Read-Only Field › Reply To: Read-Only Field
I’m wondering how to make a field read only, to only users of a specific role?
For instance I have a custom post type that contains fields that should only be edited by administrators, yet viewable by contributors and editors.
Can I disable a field’s input via php or javascript based on role?
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.