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

    php jotform library responseCode access

    Asked by asv_jotforms on May 12, 2016 at 04:02 PM

    Is there a clean way to access the parameters of the return json response? According to the jotform library, the 'content' variable of the return json object is returned.  However, I think it will be beneficial to access the responseCode parameter as well. Is there an easy way to do this without modifying the library code?



    Chris J

  • Profile Image

    Answered by victor on May 12, 2016 at 04:26 PM

    I am assuming that you bought our product and install Jotform directly in you server. I would ask you to create a post to our developers forum


    They will be glad to answer you question on how to capture the variables of the Jotform library.

  • Profile Image

    Answered by asv_jotforms on May 13, 2016 at 12:13 AM

    I did not buy the product. I am using the PHP library.  I am looking to get access to the json response.

  • Profile Image
    JotForm Support

    Answered by jonathan on May 13, 2016 at 02:17 AM

    You can find an example in the documentation for API PHP Client here http://developers.jotform.com/libraries#jotform-api-php

    Were you trying to do something similar to the included example


    As mentioned by my colleague, you can get better assistance on the PHP library in the devs forum http://developers.jotform.com/forum

    Please let us know how we can be of further assistance.

  • Profile Image

    Answered by asv_jotforms on May 13, 2016 at 11:41 AM

    I want to delete a submission and ensure a successful deletion prior to modifying other local state. I just realized the library throws an exception on non-200 statuses. I will use that fact to assist with my development. It's solved. Thanks again for the help and reference to the developer's forum.

  • Profile Image

    Answered by victor on May 13, 2016 at 11:55 AM

    Glad you were able to resolve the issue. If you more technical question  with Jotform, I would recommend you contact our developers forum, as they will assist you better.

    Have a great day.