I’m trying to embed a Microsoft Dynamics’ form using the next element:
And I’m getting this error:
The tricky part is that the form loads and works perfectly when I put the code directly in the head or body code :
Here’s a screenshot where the form embedded directly in the head/body code is showing (and working), while the form embedded by the iFrame element is not showing (neither working):
How can I get the form to work correctly by embedding it in the iFrame element?
Here’s the form’s embed code:
<div data-form-block-id="dbd5b2e5-7e99-eb11-b1ac-000d3a366999"></div>
<script src="https://mktdplp102cdn.azureedge.net/public/latest/js/form-loader.js?v=1.70.1097.0"></script>
<div id="dDLUW_-ujTp3_Hh2PFJd4Z4wHQBbO9foamgHups5ca4E"></div>
<script src="https://mktdplp102cdn.azureedge.net/public/latest/js/ws-tracking.js?v=1.70.1097.0"></script>
<div class="d365-mkt-config" style="display:none" data-website-id="DLUW_-ujTp3_Hh2PFJd4Z4wHQBbO9foamgHups5ca4E" data-hostname="3b9500eb87d14bda855b6c8a20c5b679.svc.dynamics.com"></div>
Note: I’m using EditorX.
Any help is much appreciated, thanks in advance!