pre-fill google form from google apps script
问题 I have a student registration form, there's student id which is a required field. I have a google apps script function which tells if this student is registered for any class or not. Is there a way to auto-fill the field course registered via calling the google apps script function yes or no. 回答1: Yes you can create a pre filled response with the forms ID, not that the pre filled fields are showed in the URL Function formPrefill(formId){ var form = FormApp.openById(formId); try{ var items =