Issue with loading Jotform script in Gatsby

  • ibmadhukar
    Asked on February 20, 2020 at 12:53 PM

    Am trying to embed the <script> code of my newly created form in my site built on gatsby. 

    But it doesnt appear in the screen. Any ideas why?


    this is what i have got as script.. <script type="text/javascript" src="https://form.jotform.com/jsform/200505420843343"></script>


    pasting it like this in the code..

    export default function ContactUs() { return ( <Container component="main" maxWidth="xs"> <script type="text/javascript" src="https://form.jotform.com/jsform/200505420843343"></script>

    )

    }

  • Kevin Support Team Lead
    Replied on February 20, 2020 at 2:46 PM

    It seems like the embed method on their end is different than regular HTML pages, kindly contact them and ask how you can embed the form, the available embed methods from our end can be found here:  https://www.jotform.com/help/67-Which-Form-Embed-Code-Should-I-Use