Reuse of google form triggers -
Reuse of google form triggers -
i automatically create form gas follows:
var form = formapp.create(form_name); scriptapp.newtrigger('mysubmit') .forform(form) .onformsubmit() .create();
the problem creates trigger every time new form created. there way reuse same trigger? problem number of triggers available business relationship runs out quickly.
if utilize apps script create form , create form submit trigger form, trigger have created attached script, not new form. why running 20 triggers / user / script quota limit.
keep in mind triggers live on scripts, not docs, sheets, or forms. can utilize script create new form, can't utilize script create new script attached form (scripts cannot create other scripts). means cannot programmatically create trigger lives on document.
what can create forms add-on that, when new form created, user can nail menu command create form submit trigger form.
google-apps-script google-form
Comments
Post a Comment