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.
Dynamically updating, meaning the second field changes as data in entered into the first field would need to be done with JavaScript. I can’t really help you with but I can point you to this http://www.advancedcustomfields.com/resources/adding-custom-javascript-fields/
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!
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.