google-forms

Issue making a response from a google form showing error “”TypeError: Cannot read property “values” from undefined. (line 2, file “Code”)“”

你。 提交于 2020-08-10 20:21:30
问题 In Google Forms, I am attempting to create an email response that includes a case number that is generated in the form responses (column titled code) but unfortunately, I have come across the error: typeError: Cannot read property "values" from undefined. (line 2, file "Code") I am a complete novice regarding this but I have set the trigger function and am given this error in the email that is sent in a reply. Find a copy of the responses docs below: https://docs.google.com/spreadsheets/d

Issue making a response from a google form showing error “”TypeError: Cannot read property “values” from undefined. (line 2, file “Code”)“”

北战南征 提交于 2020-08-10 20:20:34
问题 In Google Forms, I am attempting to create an email response that includes a case number that is generated in the form responses (column titled code) but unfortunately, I have come across the error: typeError: Cannot read property "values" from undefined. (line 2, file "Code") I am a complete novice regarding this but I have set the trigger function and am given this error in the email that is sent in a reply. Find a copy of the responses docs below: https://docs.google.com/spreadsheets/d

getSheets() Google Apps Script multiple calls issue

亡梦爱人 提交于 2020-08-09 10:46:08
问题 (For the purposes of this post, I will refer to each "sheet" in a google spreadsheet as a tab, I find the naming convention to be confusing when reading) In a Google Sheets add-on, I am attempting to create a setup process that will allow the user to enter the link of a Google Form based on a prompt for that form (the reason I don't just pull all the ID's into the code manually is that the forms themselves being used may change from user to user), and have that form's responses be linked to

Google Forms Script ItemResponse getScore() returns null

孤者浪人 提交于 2020-08-07 09:47:28
问题 Not sure if it is a bug or not, but the getScore() method (https://developers.google.com/apps-script/reference/forms/item-response#getscore) always returns null for me, while it is said it should return a double . The form is a Quiz, does accept answers, the score is set to 2 to all questions, the score is being registered in the responses in the Google Form. // Code.gs function onOpen (e) { setOnSubmitTrigger(); } function setOnSubmitTrigger () { var form = FormApp.getActiveForm(); ScriptApp

Google Forms Script ItemResponse getScore() returns null

我是研究僧i 提交于 2020-08-07 09:44:18
问题 Not sure if it is a bug or not, but the getScore() method (https://developers.google.com/apps-script/reference/forms/item-response#getscore) always returns null for me, while it is said it should return a double . The form is a Quiz, does accept answers, the score is set to 2 to all questions, the score is being registered in the responses in the Google Form. // Code.gs function onOpen (e) { setOnSubmitTrigger(); } function setOnSubmitTrigger () { var form = FormApp.getActiveForm(); ScriptApp

Create Dynamic Questions on a Google Form

末鹿安然 提交于 2020-08-07 07:50:51
问题 I have a list of URLs for hundreds of images in a google spreadsheet. I want to create a google form that dynamically picks 50 of these images, displays them and asks a generic like it / hate it question, then submits this data along with the URL to a spreadsheet. Is there a way to do this dynamically? 回答1: AFAIK, you can create form using apps script using a function. But once created it becomes static. Only updating a form would make it as dynamic as possible. References: Dynamic selection

Google Forms PayPal Express Integration

Deadly 提交于 2020-08-03 08:04:31
问题 I am doing work for a non profit with 0 budget for IT. They need to allow users to enter information on a Google Form and then collect payment. I have done a lot of research on the topic and currently appears you can only add a hyperlink on the Google Forms to link to PayPal. However, I was wondering if there was some way to link the PayPal Express Checkout javascript(https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/add-paypal-button/) into the Google

Google Forms PayPal Express Integration

寵の児 提交于 2020-08-03 08:04:11
问题 I am doing work for a non profit with 0 budget for IT. They need to allow users to enter information on a Google Form and then collect payment. I have done a lot of research on the topic and currently appears you can only add a hyperlink on the Google Forms to link to PayPal. However, I was wondering if there was some way to link the PayPal Express Checkout javascript(https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/add-paypal-button/) into the Google

Google Form: How to save multiple file upload in a specific folder?

ε祈祈猫儿з 提交于 2020-08-03 05:48:27
问题 I have created a custom form on Google Form which contains an Upload File Question (allowing multiple files). I'm trying to run a script when submitting the form that creates a folder into a specific destination in Drive and that it saves the files uploaded in this one. But I have no idea how to retrieve the ID of the files uploaded and move them into the new folder. Thank you I managed to create the new folder, but I'm not able to select the uploaded file and save them (or move them) to the

Google Form: How to save multiple file upload in a specific folder?

痴心易碎 提交于 2020-08-03 05:48:06
问题 I have created a custom form on Google Form which contains an Upload File Question (allowing multiple files). I'm trying to run a script when submitting the form that creates a folder into a specific destination in Drive and that it saves the files uploaded in this one. But I have no idea how to retrieve the ID of the files uploaded and move them into the new folder. Thank you I managed to create the new folder, but I'm not able to select the uploaded file and save them (or move them) to the