Home › Forums › Backend Issues (wp-admin) › Live validate and populate fields. Not before/after post/save. › Reply To: Live validate and populate fields. Not before/after post/save.
Hey John, thanks for your reply. Yeah, I’ve found that page 🙂
Unfortunately has has near to none examples. I’ve been playing with it for a few hours now.
Don’t really know how to get it running. But in the old JS API it was written to use something like:
add_action('acf/input/admin_enqueue_scripts', 'my_admin_enqueue_scripts');
found here
I’m first trying to get an JS alert() or console.log() to see when I trigger something. Not much luck so far. append_field and load field did work.
I guess when I find out the right trigger I can start validating an populating 🙂
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.