Hello @klingbeil
The method I recommended previously is valid if both the page where you insert the iframe tag, and the URL you load into the iframe belong to the same domain. Otherwise, the browser’s security rules will prevent the page code can access the DOM of the iframe content, and you will get an error similar to the following one in the browser’s console:
Uncaught DOMException: Failed to read a named property ‘document’ from ‘Window’: Blocked a frame with origin “ABC” from accessing a cross-origin frame.
at HTMLIFrameElement.onload (XYZ)
If the page and the iframe content belong to different domains, you must include the iframe tag and a script block on the page. The script block must implement an event listener for the message event that will adjust the iframe height when it receives the height from the form. Also, the form must send a “postMessage” to the parent with the form height.
If you need a custom coding service to implement both the code to include in the pages and forms, do not hesitate to contact us directly through the plugin website:
https://cff.dwbooster.com/customization
Bet regards.