Support

Account

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/