How to generate a pre-filled form URL for Google Form

后端 未结 3 790
慢半拍i
慢半拍i 2020-12-14 05:20

I\'m looking for a programmatic way to automate the generation of pre-filled URLs for google forms.

In a recent update, Google introduced a new Forms product to Goog

3条回答
  •  不知归路
    2020-12-14 05:52

    I found no way to create a pre-filled URL from the form id itself. It is possible if the form has already an answer:

      var form = FormApp.openById('1nGvvEzQHN1n-----_your_for_id_----zemoiYQA');
      var responses = form.getResponses();
      Logger.log(responses[0].toPrefilledUrl());
    

提交回复
热议问题