Rendering kentico's form on iframe

mantra tester asked on April 29, 2021 05:46

Is it possible to render Kentico's form on iframe? I mean, created in Kentico CMS and rendering it on other html website

Correct Answer

Brenden Kehren answered on April 29, 2021 06:22

It can be done. What you can do is create a page in the content tree, place the form on the page and on the page template tell it to not inherit any of the master page data and then you'll have a stripped down version of the form on a page you can use to put in an iframe on another site.

0 votesVote for this answer Unmark Correct answer

Recent Answers

Dmitry Bastron answered on April 29, 2021 19:08

Just a small addition to Brenden's answer, also bear in mind the following things:

  • make sure you've got the right value for X-Frame-Options header on your website
  • form submit behaviour, if it is set to redirect to a thank-you page - it will likely be displayed on the iframe after submission
1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.