Dynamics Marketing JavaScript API is only available for the marketing form hosted as Script. It is not available for forms hosted as Iframe. More on embedding form on external page – https://nishantrana.me/2022/11/10/how-to-embed-marketing-form-on-an-external-page/ Add a reference to form-loader.js or load.js to access the API. Below is our form with a hidden field in it. Based on … Continue…
Continue Reading Nishant Rana’s Article on their blog
How to – use Dynamics 365 Marketing JavaScript API to set hidden field’s value
Dynamics Marketing JavaScript API is only available for the marketing form hosted as Script. It is not available for forms hosted as Iframe. More on embedding form on external page – https://nishantrana.me/2022/11/10/how-to-embed-marketing-form-on-an-external-page/ Add a reference to form-loader.js or load.js to access the API. Below is our form with a hidden field in it.
Blog Syndicated with Nishant Rana’s Permission