Support

Account

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.