Invalid iFrame Code
Jun 18, 2020
I created a form using Microsoft Forms that I want to embed into a Rise 360 that I am making for work. However, when I post the code I get an "invalid iframe" message. The code is correct; I tested it on another site and it works with no problems. What is the error? I know I can embed the link and have users click that for the form, but it is a cleaner, better user experience for the form to be embedded in the Rise. What am I doing wrong? Here is the iFrame code:
<iframe width="640px" height= "480px" src= "https://forms.office.com/Pages/ResponsePage.aspx?id=TR5AMa9De02xrAqKbEiLqvOsk-tqi5dPqSlDqMI4V1VURURJUEhIVDgySUtFV05GU1RaRzdMS0NOQy4u&embed=true" frameborder= "0" marginwidth= "0" marginheight= "0" style= "border: none; max-width:100%; max-height:100vh" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen> </iframe>
Thanks for your help!
Don
3 Replies
Hi Don!
I used the iframe code below in a Multimedia Embed block, and it worked great. Adjust the Embed Width setting to Medium or Full Width for best results.
Awesomesauce thanks Alyssa! Was it the extra info (sizing, etc.) that was causing the error?
Hi Don!
Yes, it looks like it. Generally, this simple iframe code below works for any website that doesn't have iframe embedding restrictions.
<iframe src="URL"></iframe>
This discussion is closed. You can start a new discussion or contact Articulate Support.