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

    Editing Form Field Condition with Python Jotform API

    Asked by tfn on February 18, 2015 at 05:45 PM

    I am having trouble trying to change a conditional with the python jotform api. I want to be able to change the option value that the condition is linked to by editing the value field and then calling the set_form_properties function. It is not working for me tho here is what i am using. Any help would be awesome thanks!

     

    r = str({u'index': u'0', u'terms': u'[{"field":"122","operator":"equals","value":"21615 - CAH Miami"}]', u'priority': u'0', u'link': u'Any', u'action': u'[{"field":"121","visibility":"Show"}]', u'type': u'field', u'id': u'1424287023498'})

     

    self.jotformAPIClient.set_form_properties(form_id, r)

    Page URL:
    http://www.jotform.com//?formID=50321069122947

    JotForm jotform api form field thanks then
  • Profile Image
    JotForm Support

    Answered by Charlie on February 18, 2015 at 09:03 PM

    Hi,

    Have you checked our API documentation here: http://api.jotform.com/docs/. Could you also share to us the link where you are using the API so that we can also debug and investigate it further?

    Thank you.

  • Profile Image

    Answered by tfn on February 18, 2015 at 09:27 PM

    Yes I have checked out the documentation. Its not letting me change the form condition properties and I want to know what I am doing wrong. Thanks

    https://github.com/jotform/jotform-api-python/blob/master/jotform.py

  • Profile Image
    JotForm Support

    Answered by Charlie on February 18, 2015 at 10:42 PM

    Hi,

    Thanks for sharing the code. We actually have an API team for this, you can contact them using this link: http://api.jotform.com/docs/#contact. At the same time, I will also create a support ticket so that your concern can be expedited.

    We will hear from them regarding your question or concern.

    Thank you.