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

    Search a form by Id doesn't work with C# API

    Asked by Shadwise on January 18, 2017 at 01:01 PM

    Hi,

     

        I'm trying to search a form by his id but it returns nothing. I'm using the c# library and the function getForms. if I search with the title it return :

    but when I use the ID above it return this.

     

    Here is the code i'm using (in VB.net)

                Dim JFApiClient As New JotForm.APIClient(cntstrAPiKey, True)

                Dim dicFilter As New Dictionary(Of String, String)

                dicFilter.Add("id", "70174013902243")

                Dim strAnswer As string = JFApiClient.getForms(filter:=dicFilter).ToString

  • Profile Image

    Answered by KadeJM on January 18, 2017 at 02:00 PM

    I see your having some problems with using our C# API to search a form by ID.

    You mentioned you're looking at " his Form ID " so are you referring to viewing a form submission that was sent to you? or did you maybe mean something else?

    I do see your code has a null in it.

    Have you had a chance to check out our API Documentation on getting the form id with C#? 

    Please see http://api.jotform.com/docs/#form-id 

    If you need further assistance though just let us know.

  • Profile Image

    Answered by Shadwise on January 18, 2017 at 02:10 PM

    I was looking for the form itself but I found a function that does it. The function is : getForm who takes an FormID and return the form information.

    Thank you for your help!