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

    Embedding Javascript

    Asked by JustSport on March 09, 2017 at 03:17 AM

    I know there are a few questions about embedding Javascript ( or the lack of ) into a JotForm. The standard answer is to use the source code, embed your JS or reference to it in there and then embed the source in your web page.

    The problem with this is everytime you change your form in Jotform, you have to go through the whole process again.

     

    Is it not possible to add an option to Jotform to say something like "Javascript file to include".

    You place the source file in there e.g http://domain.com/js/registration.js"

    Then you can then simply embed the link to the jotForm in your page and when you change either the javascript ( outside of jotform ) or the form itself, the web page has the latest updates ?

     

  • Profile Image
    JotForm Support

    Answered by liyam on March 09, 2017 at 04:10 AM

    Hello JustSport,

    Unfortunately this is not possible. If you want to embed a form on a page where it will instantly update everytime you make a change on the form builder, your choices are javascript embed code or iframe embed code. But if you wish to customize your form further that is beyond the limits of JotForm, you will need the full source code, which the downside is that it will not update immediately on your webpage when you make changes on the form builder and vice versa.

    Insertions of javascript codes and files are not allowed on the builder or even for reference as this raises some security concerns directly with JotForm. 

    If you have other questions, please let us know.