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

    How to filter requests? It seems that filtering doesn't work now

    Asked by lskjvbh on November 24, 2015 at 06:46 AM
    Please see the screenshot. This is a piece of response for "GET /user/submissions". The goal is to select ONLY those submissions that have "type: control_paypal" and/or "type: control_payment". And it seems that the filtering doesn't work. My request url is this: "https://api.jotform.com/user/submissions?apiKey=.....&limit=20&filter=%7B%22type%22%3A%22control_paypal%22%7D". I encode desired uri component like this "encodeURIComponent(JSON.stringify({"type":"control_paypal"}))" and append it to my request url. As you can see I do "limit=20". It means I have to get 20 entries with "type: control_paypal". But for some reason I get 20 entries and only 12 of them have "type: control_paypal". So the response is the same as without adding a filter, as if I only use "limit=20". My question is: How to filter? Does this feature work?here is much better markup http://developers.jotform.com/forum/post/56545743387b5d6518000015
    Page URL:

  • Profile Image
    JotForm Developer

    Answered by mert on November 24, 2015 at 11:15 AM

    Hi there,

    Actually, filtering the submissions with "type" is not working. To do the filtering, you need to get all of the submissions, then you need to filter those with answer/content.


    To illustrate (not the actual code),

    for (answers) {

    if(answers[content][type] == "control_paypal")



    Also, you can use the following guide and the examples to understand how to filter the data of the API. I assume that this link will be very beneficial:



    For further assistance, please feel free to contact us.


  • Profile Image
    JotForm Developer

    Answered by mert on November 24, 2015 at 11:42 AM

    In addition, you can also use the app called "JotPayments". You can easily add this app to your form by using the following link: