Embed MS form in a website

Anonymous
2022-01-13T18:56:11+00:00

Hello,

I created a form and I am trying to embed the form to the website. However, when I paste the embeded code

<iframe width="640px" height= "480px" src= https://forms.office.com/Pages/ResponsePage.aspx?id=gcLuqKOqrk2sm5o5i5IV52P878xgTv9Ot5ZVHOqGYfZUODUwT0xOWVZVUVVDUzlOVFNLWlg4V0owSCQlQCN0PWcu&embed=true frameborder= "0" marginwidth= "0" marginheight= "0" style= "border: none; max-width:100%; max-height:100vh" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen> </iframe>. It shows like the picture below. I am not sure why it doesnt show the form itself. If it cannot display the form itself, I would like to at least not to cut off the 'Fill out the form' text.

Microsoft 365 and Office | Microsoft Forms | For business

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-01-14T05:42:17+00:00

    Hi Amanda,

    I test with your embed code in SharePoint page embed webpart, it is working expectedly. Although I have no permission to access your form, but you can see the result below:

     Image

    If you don't mind, you can also test my form embed code on your website to see the result.

    <iframe width="640px" height= "480px" src= "https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR1jJlb6ncTFKuY9PnmRkJcZUQ0ZTREEwSFFPWjZaNjVaSVY5WVUwQzZOWS4u&embed=true" frameborder= "0" marginwidth= "0" marginheight= "0" style= "border: none; max-width:100%; max-height:100vh" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen> </iframe>

    Based on the test result above, I assume the embed code is ok. The possible cause maybe the browser issue or website issue. To troubleshoot that, you can use try to embed on a SharePoint page to see the result. For your reference: Add content to your page using the Embed web part.

    • If the issue can be reproduced in SharePoint page, you can change another browser to see the result.
    • If the issue doesn’t happen in SharePoint Online page, can you tell me what website page you are trying to embed to?

    Any updates please feel free to post back, we will help you as far as we can.

    Regards,

    Rena

    45 people found this answer helpful.
    0 comments No comments