Google Apps Script: delete Google Form Responses

Go to https://script.google.com/home (you will need to be signed in a google account) and create a new project


Localize the Google Form ID



Copy this code in the editor
function deleteFormResponses() {
  var formId = "4XIVyVJa68qY1N04CrbfPz8gem5yzXMXltS-JLrX";
  var form = FormApp.openById(formId);
  form.deleteAllResponses();
}



Change the value of "formId" with the value of your form ID





Comentaris

Entrades populars d'aquest blog

Com descarregar vídeos de TV3 a la Carta