Home › Forums › Gutenberg › ACF Blocks, Javascipt API and field values › Reply To: ACF Blocks, Javascipt API and field values
Hi John.
Tx for your swift answer, I have always valued the knowledge you share on this forum and have learned a lot from it.
Yes – I am trying to find a way to access field data in front end and back end scripts and use it to configure a third party javascript component without using jQuery.
Do you know any clean way of doing this or a further avenue I could explore.
At the moment I am getting somewhere with writing data-attributes into generated html blocks and then accessing them with javascript but it seems a bit backwards.
It would be great if the fields were available as JSON.
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.