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

    Jotform API Create Form only submitting one question

    Asked by dickeyad on September 08, 2014 at 02:12 PM

    This was working until recently, and we haven't changed anything with the way we're interacting with the API. I was able to recreate this issue with curl.

    What was happening:

    Submitting a PUT request to /form with more than one question would only ever create the one question. Using the example found here: http://api.jotform.com/docs/#put-forms

    curl -X PUT -d '{"questions":[{"type":"control_head","text":"Form Title","order":"1","name":"Header"},{"type":"control_textbox","text":"Text Box Title","order":"2","name":"TextBox","validation":"None","required":"No","readonly":"No","size":"20","labelAlign":"Auto","hint":""}],"properties":{"title":"New Form","height":"600"},"emails":[{"type":"notification","name":"notification", "from":"default","to":"noreply@jotform.com","subject":"New Submission","html":"false"}]}' "https://api.jotform.com/form?apiKey={apiKey}"

    I got a successful response:

    {"responseCode":200,"message":"success","content":{"id":"42505171548958","username":"dickeyad","title":"New Form","height":"600","status":null,"created_at":null,"updated_at":null,"new":0,"count":0,"url":"http:\/\/form.jotformpro.com\/form\/42505171548958"},"limit-left":9999}

     But when I visited that form, you'll notice that there's only one question, the control_head: http://form.jotformpro.com/form/42505171548958

    This is a huge blocker since most of the surveys we're creating have more than one question. Please let us know if you need anything from us.

    Page URL:
    http://form.jotformpro.com/form/42505171548958

    create form JotForm jotform api create
  • Profile Image

    Answered by jedcadorna on September 08, 2014 at 02:47 PM

    I suggest that you send your questions with regards to API through api@jotform.com to properly address your questions.

    You can also use this contact form to send your questions about API http://api.jotform.com/docs/#contact.

  • Profile Image
    Chief Technology Officer

    Answered by eee on September 09, 2014 at 04:17 PM
    Hey Nathan,
     
    Problem is fixed now, 
     
    We're truly sorry for any inconvenience caused,
     
    ​Thank you for using JotForm,
     
    Kindest Regards,​
    - Ertugrul.