The getFormSubmissions filter does not work.

  • Profile Image
    Asked on March 17, 2019 at 10:20 PM

    Hi there,

    I tried to use formstack API to get the data, it works using 

    $jotformAPI->getFormSubmissions(FORM ID,'','100');

    But not if I want to use filter

    $jotformAPI->getFormSubmissions(FORM ID,'','100','{"created_at:gt":"2013-01-01 00:00:00"}');

    I tried to follow the sample in github and it is returning errors as well. What have I done wrong?

    Thank you in advanced

  • Profile Image
    Answered on March 18, 2019 at 03:12 AM

    Please try to use this filter and let us know if the problem persists:

    $jotformAPI->getFormSubmissions("FORM ID","100",["created_at:gt" => "2013-01-01 00:00:00"]);