MS Forms: embedding a form into a web page

Anonymous
2020-09-10T17:25:44+00:00

I created a web page and embedded a form using the following code:

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

But, it displays the following instead. Is there a way to display the form on the page. Please help

Microsoft 365 and Office | Microsoft Forms | For home

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

17 answers

Sort by: Most helpful
  1. Anonymous
    2020-12-07T02:50:39+00:00

    I created a web page and embedded a form using the following code:

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

    But, it displays the following instead. Is there a way to display the form on the page. Please help

    1 person found this answer helpful.
    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Anonymous
    2021-02-22T04:08:35+00:00

    Its a bit late to the original reply but if you look at the embed code you copy from Microsoft forms you can delete a part of it to leave only the form.

    Instead of leaving the entire embed code in the box delete the rest of the code following the the url ending in embed=true"

    So for Steve4Life's example it would look just like this when he embeds into the site and it should not have the box popup to open in a separate tab/window.

    <iframe width="480px" height= "250px" src= "https://forms.office.com/Pages/ResponsePage.aspx?id=-40iOkfGy0SINXsgYX_JBjNn_CDkQb9DihTJ2w8VUaNUMDNDUFE1Tks4UlAxWjMzMUxOU0hEOUJWVi4u&embed=true"

    Hopefully this helps

    Joe

    12 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2021-02-22T04:09:17+00:00

    Try this

    <iframe width="480px" height= "250px" src= "https://forms.office.com/Pages/ResponsePage.aspx?id=-40iOkfGy0SINXsgYX_JBjNn_CDkQb9DihTJ2w8VUaNUMDNDUFE1Tks4UlAxWjMzMUxOU0hEOUJWVi4u&embed=true"

    3 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2021-02-26T06:36:49+00:00

    I apply the code like that but dont successfully ! :(

    1 person found this answer helpful.
    0 comments No comments