Can I use the iFrame without the script tag?

  • Profile Image
    Asked on July 22, 2016 at 09:14 AM

    I'm trying to use the form in a CMS content block that doesn't accept script tags. It will automatically remove the tags and everything inside them. I am embedding the form using "Publish > Embed > iframe". Using the iframe alone seems to work fine, and I received a test submission successfully. What are the downsides to only using the iframe without the JS?

    Edit: Fun fact, JotForms also strips the < script > tag out of posts.


  • Profile Image
    Answered on July 22, 2016 at 10:36 AM

    Yes, you can use Iframe without the script tag. If you copy the iFrame code correctly, almost nothing can break the form on your page! Since the form is displayed inside an iFrame, it will not conflict with anything on your page.

    If you face any issue or need further assistance, feel free to revert back.