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 get answer from api for checkboxes, Matrix, etc ? I have gathered answer for textbox, radio button.

    Asked by mihir on April 06, 2016 at 12:33 AM

    I have problem when i am sending multiple answer for a question through API. Suppose i have sent answer for check box which can have two selected answers.So when i am sending answer to API it only takes single answer.

    So please guide us to send check box, Matrix type of answer through API.

     

    Thanks.

    Mihir Kumar

    E-mail- mihir@geobeats.com 

    checkboxes textbox get answer how
  • Profile Image
    JotForm Support

    Answered by Boris on April 06, 2016 at 03:46 AM

    It is best to direct API related questions directly to our API team over the following email address, since they are the ones most familiar with how to best utilize our APIs:

    api@jotform.com

    From what I understand in your post, you are looking to create/add new submissions through the API. Please take a look at our API documentation, specifically the section for adding a new submission:

    http://api.jotform.com/docs/#post-form-id-submissions

    When it comes specifically to how to provide details to fields that allow multiple fields to be selected or entered, such as a Full Name field or a Matrix, you can use entries such as this:

    curl -X POST -d "submission[1]=answer of Question 1" -d "submission[2_first]=First Name" -d "submission[2_last]=Last Name" -d "submission[3_0_1]=First row, second column of the matrix" -d "submission[3_1_4]=Second row, fifth column of the matrix" "https://api.jotform.com/form/{formID}/submissions?apiKey={apiKey}"

    Please try it out, and if you need further assistance with correct way to use our API, please contact our API team over the above provided email. They will be able to best handle such queries. Thank you.