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

    Form Builder will not load when passed a Form ID

    Asked by GPTQ on July 20, 2017 at 12:53 AM

    Hello,

    I have a website and I am using Javascript to integrate JotForms in my website. I am trying to Create a new blank form and then pass that newly created form ID to the launchBuilder method, although it just shows a blank window and I get the following errors in my console:

    The code I am using is:

    // Create a JotForm from scratch

    function createNewForm() {

     

    // Create new object to store properties of a blank form.

    var formObject = {

    apikey: apiKey,

    questions: { 1: {

    type: "control_head",

    text: "Form Title - Start adding questions!",

    order: "1" }

    }, properties: { title: "Untitled Form New" }

    };

    JF.createForm(formObject,function(response){

        JotformAnywhere.launchBuilder({

            formID: response.id// Form to load

        });

    });

    }

     

    I get the same error if I just call JotformAnywhere.launchBuilder and pass an existing Forms ID.

    I do not get the error when I don't pass any form ID.

     

    Please help!

    Thank you.

    Page URL:
    http://ftp.gptq.qld.edu.au/ezyval/test.html

  • Profile Image
    JotForm Support

    Answered by ashwin_d on July 20, 2017 at 04:22 AM

    Hello GPTQ,

    It seems you are using JotForm API to create form on the fly. I am not sure what is causing this issue. I would suggest you to please go through our API documentation and see if that help you: http://api.jotform.com/ 

    I would also suggest you to please connect with out api team by sending an email at api@jotform.com

    Thank you!

  • Profile Image

    Answered by GPTQ on July 20, 2017 at 07:07 PM

    Hi Ashwin,

    It seems to be the JotformAnywhere.launchBuilder that is the problem. There is no issue creating the form, there is only an issue when you pass a form ID to the launchBuilder method. Even just the code below does not work (I use an existing form ID).

        JotformAnywhere.launchBuilder({

            formID: 71998947905883

        });

     

  • Profile Image
    JotForm Support

    Answered by liyam on July 21, 2017 at 12:07 AM

    Hello GPTQ,

    Have you submitted your inquiry over the issue you are having through the contact page of JotForm Anywhere? Here is the link: https://www.jotform.com/anywhere/#contact

     By submitting through the contact page, you directly forward your concern to the developers of JotForm Anywhere.

    Thanks.

  • Profile Image

    Answered by hlajotform on July 21, 2017 at 12:12 AM

    Hi Liyam,

    I have emailed api@jotform.com is this the same as lodging a contact request through the link you specified?

    from GPTQ

  • Profile Image
    JotForm Support

    Answered by liyam on July 21, 2017 at 02:09 AM

    Thanks for your response.

    Yes, an email to the API team and submission through the form on the page will both land the same to the API team inbox. For the meantime, you can wait until they respond to your concern.

    Thanks for your patience and we apologize for this inconvenience.