Hi,
What would you suggest as of how to get Custom ACF Field values in JS?
I do know you have a JS Api but that api does not allow to get fields values by POST ID, it will try to default to current post, which is not useful in a map like I have.
So I would need to get custom field values by name (custom field name) AND POST ID
Thank you.
There are a couple of ways you can do this.
You can get the values in php and then set JS variables that are output into the page so that they can be used.
You can use AJAX to get the values.