Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
Formulario Editar URL por Java Script

Estoy usando este script para editar la URL de un formulario. Pero deja de funcionar después de dos o tres días hasta que copio y pego este script con un nuevo nombre de función.

 var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName(sheetName); var headers = sheet.getRange(1, 1, 1, sheet.getLastColumn()).getValues(); var columnIndex = headers[0].indexOf(columnName); var data = sheet.getDataRange().getValues(); var form = FormApp.openByUrl(formURL); for (var i = startRow - 1; i < data.length; i++) { if (data[i][0] != '' && data[i][columnIndex] == '') { var timestamp = data[i][0]; var formSubmitted = form.getResponses(timestamp); if (formSubmitted.length < 1) continue; var editResponseUrl = formSubmitted[0].getEditResponseUrl(); sheet.getRange(i + 1, columnIndex + 1).setValue(editResponseUrl); } } }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!