How to create a form through the API?

  • Profile Image
    editplace
    Asked on July 10, 2018 at 07:01 AM
    Hi jotform,
     
    my requirement is 
    1. No need to submit form if required is not filled.
    2. How to get entire form submission(single polling) in one row
    3. how to add Radio Button
    4. how can I disable form after some period of time.
     

    for all above things I need how i can i do with api. I did not get proper documentation under http://api.jotform.com/docs/. can you please help me out.?

  • Profile Image
    Kevin_G
    Answered on July 10, 2018 at 09:20 AM

    Please kindly note that the API documentation is a general documentation about how to handle Jotform, you will find some examples, but if you need to achieve something in specific you may need to create your own code, or hire a developer to work on it. 

    For example, the points 1 and 3 will be done when you're adding questions to the form, you can set each question property: http://api.jotform.com/docs/#put-form-id-questions 

    The point 2 will only require to get the submission's data, once you have the array of information you can format it as you want with your own code: http://api.jotform.com/docs/#submission-id 

    The 4 one will only require to change the form properties: http://api.jotform.com/docs/#post-form-id-properties 

    You may also check the sample codes for each library: http://api.jotform.com/docs/#libraries 

    Also, I would recommend you to kindly download the API (from the library you want to use) and inspect the functions available, this way you may know which parameters you need to pass and how the functions are called. 

    If you have questions you may also reach the API team at api@jotform.com

    Thanks.