Home › Forums › General Issues › Code Field / Return value of another custom field in post edit › Reply To: Code Field / Return value of another custom field in post edit
Hi John,
Thanks a lot for your answer.
Somehow I’m a little surprised that it is so easy to display ACF values anywhere in the front-end, yet not so easy to display them in the backend (well, I’m kind of a noob and don’t understand the system behing custom fields, so that may be why I find it surprising).
What actually surprises me is that more people don’t need this functionality (I had googled a lot before posting).
Anyway, I’m starting to wonder if I can reach my goal with ACF alone. I’ll tell you but it’s long so if you don’t answer that’s fine 😉
In short:
– I have a “product” custom post type with custom fields, including many internal ones.
– I have a “proposals” custom post type with a repeater field to add products.
=> I want, when a product is added in my Proposal post, to display info related to that product on the backend.
Example, if I add “Hotel XYZ” in the proposal:
– It would add some internal warning message related to Hotel XYZ below the table. Can be read-only, no problem.
– It would also add the Hotel XYZ description (as a field in another repeater field, I suppose). However, I want this description to be editable (so, display the product description as default value of the field).
I played around with the Clone and Relationship features but couldn’t reach the results i wanted…
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.