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 to use JotForm API?

    Asked by deepalisingh on December 11, 2014 at 09:58 AM

    Hi,

     

    I have downloaded the JotForm api . And stated working on it. The example git hub is limited to getting form , data, delete etc.

     

    I want to customize form by adding certain question.

     

    they have an api to post

    like

    http://api.jotform.com/docs/

     

    under post question section . can you give me idea What value i need to provide to create a question in my form.

    how to do same using java api?

     

    I am doing this in my java code:

    JotForm jform=new JotForm("MY_Key_API");
           
            JSONObject jobject=jform.getForm(My_FormID);
           

    HashMap<String, String> prop=new HashMap<String,String>();
    prop.put("type","control_textbox");
    prop.put("text","how is this form??");


    System.out.println(jform.createFormQuestion(43438914877469l, prop));

     

    But I am getting following response:

    {"message":"Bad request (/vid-form-id-questions) - Question not created!","responseCode":400,"limit-left":4944,"info":"http://api.jotform.com/docs#vid-form-id-questions"}

     

    Can you please tell me what is the way to do it correctly?

     

    Please need urget assistence

    JotForm jotform api how to use POST message
  • Profile Image

    Answered by Ben on December 11, 2014 at 12:18 PM

    Hi,

    It is nice to hear that you are using our API to build upon. I would however ask you to ask this on our developers forum instead.

    You will be able to see the issues others had and how they resolved it as well.

    This forum is intended for support for our online JotForm Builder.

    Best Regards,
    Ben