Home › Forums › Backend Issues (wp-admin) › How can I send an additional field during ajax requests? › Reply To: How can I send an additional field during ajax requests?
Sorry, I’m a bit of an ACF newbie so sorry if this is a silly question:
I’ve adapted the above code for my uses and tried adding it to my main .js file, but the function doesn’t appear to be firing. It seems that typeof acf
is undefined?
When you say “THIS BLOCK MUST COME BEFORE DOCUMENT READY, AFTER ACF JS HAS LOADED.”, where should it go? I wonder if this could maybe be the issue?
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.