What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How can I run a script inside a form?

    Asked by kauseway on January 13, 2015 at 04:41 PM

    I am tracking my users movement using mouseflow. But it cant track the form since it is an iframe. They said I need to paste their script code inside the html above the </body> tag.  How can I do that?





    <script type="text/javascript">

       var _mfq = _mfq || [];

       (function() {

           var mf = document.createElement("script"); mf.type = "text/javascript"; mf.async = true;

           mf.src = "//cdn.mouseflow.com/projects/4f3f23ed-e44c-4c89-ac89-309ce3c4574e.js";




    Page URL:

  • Profile Image

    Answered by raul on January 13, 2015 at 06:08 PM

    Based on you what you're mentioning, I suggest that you use the full source code of your form to embed it in your website. This way the script will also be able to capture the movements in it.

    However, please note that using this method requires you to manually update the code of your form in your site every time you make changes in it.

    Hope this helps.

    Let us know if you need further assistance.