Home › Forums › Backend Issues (wp-admin) › Generate/Create value of field based on another › Reply To: Generate/Create value of field based on another
Well, what you’re looking for is not completely possible with ACF.
If you’re okay with then field updating when the post is updated then you can use this filter http://www.advancedcustomfields.com/resources/acfload_value/ and you can adjust the value on the second field by the value of the first.
Having a field that is not editable is another story entirely. ACF doesn’t currently have a way to set a field as readonly. I would suggest that you take a look at this add on https://wordpress.org/plugins/acf-enhanced-message-field/
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.