JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
php jotform library responseCode accessAsked 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?
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.
I did not buy the product. I am using the PHP library. I am looking to get access to the json response.
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.
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.
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.