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

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

    Asked by celtsoc on December 23, 2015 at 08:49 PM
    Do you have an API to delete submissions programmatically or do I have to
    do that manually?
  • Profile Image
    JotForm Support

    Answered by Kevin_G on December 23, 2015 at 08: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.

  • Profile Image

    Answered by celtsoc on December 23, 2015 at 08: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

  • Profile Image
    JotForm Support

    Answered by Kevin_G 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.