google-forms

Different Google Form Urls (How to find the linked “Form Responses” sheet) in a large Spreadsheet?

泄露秘密 提交于 2021-02-08 10:38:39
问题 One Google Spreadsheet has several sheets, some of them linked to the Google Forms. I tried to use this example but I couldn't find the linked sheet. In one case it shows the link to the form without any domain, but sheet.getFormUrl() returns the link with a domain and with another form's ID! When I used that link it was replaced in the browser on first link (without domain). In this case how to find the linked sheet and why links are different?! I have onFormSubmit Event handler (on Form

Different Google Form Urls (How to find the linked “Form Responses” sheet) in a large Spreadsheet?

我的梦境 提交于 2021-02-08 10:36:14
问题 One Google Spreadsheet has several sheets, some of them linked to the Google Forms. I tried to use this example but I couldn't find the linked sheet. In one case it shows the link to the form without any domain, but sheet.getFormUrl() returns the link with a domain and with another form's ID! When I used that link it was replaced in the browser on first link (without domain). In this case how to find the linked sheet and why links are different?! I have onFormSubmit Event handler (on Form

Google Script import form data to new spreadsheet, then send as PDF

半世苍凉 提交于 2021-02-07 04:30:29
问题 Thank you all for this great resource. I am new to google scripts and it has helped me greatly. I am trying to create a script that takes google form information, creates a new spreadsheet, imports that data into new spreadsheet to do calculation and make a chart, then email a PDF of that sheet to the Form User. I thought I was getting close, but ran into an issue. The data imports over to the new spreadsheet, but the data does not show up in the PDF in my e-mail. A few questions; Do you guys

Google Script import form data to new spreadsheet, then send as PDF

大兔子大兔子 提交于 2021-02-07 04:30:05
问题 Thank you all for this great resource. I am new to google scripts and it has helped me greatly. I am trying to create a script that takes google form information, creates a new spreadsheet, imports that data into new spreadsheet to do calculation and make a chart, then email a PDF of that sheet to the Form User. I thought I was getting close, but ran into an issue. The data imports over to the new spreadsheet, but the data does not show up in the PDF in my e-mail. A few questions; Do you guys

how to create a google form response with app script

岁酱吖の 提交于 2021-02-07 04:14:40
问题 As a way of initializing a form record, I want to fill and submit a google form with apps script. The key bit of documentation for form.createResponse() is this Creates a new response to the form. To answer a question item, create an ItemResponse from the item, then attach it to this form response by calling FormResponse.withItemResponse(response). To save the assembled response, call FormResponse.submit(). do I need to new FormResponse() or how do I make this happen? 回答1: create new form var

Designing a Google Form to not accept responses for some hours everyday

我怕爱的太早我们不能终老 提交于 2021-02-05 12:27:06
问题 I want a Google Form for online attendance during the time from 10:15 AM to 14:30 PM, from Sunday to Friday. Google Form has an option "Stop Accepting Responses" which should be done manually every time. But it would be better if the same thing could be done automatically. I did some research on this. I didn't find any until I came across one, with similar situations but it too had no verified solution and everything looked gibberish. My thought: Extract the time the form was opened. If the

Event object of onSubmit is empty in Google script

匆匆过客 提交于 2021-02-05 07:43:19
问题 I have a Google form linked to a Google sheet. In that spreadsheet I have code that have this function onSubmit(e){ Logger.log(e) Logger.log("Call onSubmit") } The trigger is setup as follow Project: Spreadsheet's scritp Deployment:Head Event:From spreadsheet - On form submit Function:onSubmit So whenever I submit the form, the log shows [object Object] Call onSubmit The form has many questions, not an empty form. As I read the documentation, it seems like the event object has many

Google Script used by multiple User

允我心安 提交于 2021-01-29 21:37:12
问题 I have a Google Attendance form which triggers an apps script through spreadsheet connected to the form. My issue is that when around 1200 student will fill the form most probably at the same time, will the script overlap the data?? I saw google developer post where they have mentioned to lock the script for 30 seconds (lock.waitLock(30000); lock.releaseLock();) will it be enough to use the suggested method to prevent script from overlapping data of around 1200 students? I cant test the

Selecting specifically google form dropdown using selenium without select tag in python

岁酱吖の 提交于 2021-01-29 12:24:09
问题 I have been trying to find a way to select a dropdown option from google forms through selenium and python but have thus far been unsuccessful. I tried several ways including the Select class (which does not work due to the dropdown form not using the select tag). As well as XPATH. But have only got so far as to click on the dropdown but not being able to select the options within the said dropdown list. Any help would be greatly appreciated! I need to be able to specify which dropdown option

Google Form Upload files to specific new folder based on the value submitted

一个人想着一个人 提交于 2021-01-29 10:51:03
问题 I have form with 2 fields, lets say the name of the form is CV Drops Name Uploaded files button So, by default when people are uploading their files it will be keep in my Google Drive under folder CV Drops . What I wanted is that the files are placed inside subfolder based on their input in field NAME . How do I do that? 回答1: I believe your current situation and goal as follows. Your Google Form has 2 fields. Name Uploaded files button (In this case, multi files can be uploaded.) Both fields