Do you have an API to delete submissions programmatically or do I have to do that manually?

  • celtsoc
    Asked on December 23, 2015 at 8:49 PM
    Do you have an API to delete submissions programmatically or do I have to
    do that manually?
  • Kevin Support Team Lead
    Replied on December 23, 2015 at 8:52 PM

    Hi,

    You can only delete submissions as soon as they are received, submissions will not be there in the submissions page, this app will help you to do it : http://apps.jotform.com/app/auto_delete_submissions 

    But, there is not a way to delete submissions automatically after some time.

    Hope this helps.

    Regards.

  • celtsoc
    Replied on December 23, 2015 at 8:59 PM

    Great, thanks, that might work.  Couple of questions.

    Are the submissions deleted after the thank you page is processed?  I have some php code in my thank you page that adds the submission to a database on my web server so the submission needs to be there at that point.

     

    If I use the technique of ftp'ing an uploaded file to my websserver, will that happen before the submission is deleted?

     

    Pete

  • Kevin Support Team Lead
    Replied on December 23, 2015 at 10:20 PM

    Hi,

    In regards to the data sent to your database, you should always receive it since you are sending it via PHP and this have nothing to see with deleting the submissions in JotForm's Servers, now in regards to your FTP connection, I'm not sure if the data or the uploaded files will be sent to your server, since the submission is instantly deleted. 

    Unfortunately, I have not an FTP account to test it and inform you about how it works, but you can make a form just to test, and connect it with your FTP server and with the Auto-Delete app.

    Let us know the result.

    Thanks.