Home › Forums › ACF PRO › "Placeholder" Field to calculate? › Reply To: "Placeholder" Field to calculate?
Yes, something like this can be done.
You have 2 choices. The first is the easiest. Us an acf/load_value filter on your place holder field. Get the values from the other 2 fields, if they exists, an do the calculation and return the result.
The second would be to create custom JavaScript to populate the field without doing a page load. You’d need to do some more research on this. You can start here: http://www.advancedcustomfields.com/resources/adding-custom-javascript-fields/
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.