google-form

Browser() in Python shows errors in IDLE

a 夏天 提交于 2019-12-12 03:18:13
问题 I have some code here which is basically a bot that spams a specific google form: while True: browser = Browser() print("Form Filling Begun") browser.visit('https://docs.google.com/forms/d/1Lyoox1FIpOP5nceVHqmdA3Exqf8PMCxaBgWIYQ67yX8/viewform?c=0&w=1') browser.fill('entry.1796849606', 'test') browser.fill('entry.1233774681', 'test') browser.fill('entry.1687034525', 'test') browser.fill('entry.2085519362', 'test') browser.fill('entry.2085519362', 'test') browser.fill('entry.87435301', 'test')

Extract Checkbox or Multiple-choice Choices from a Google Form that Already Exists

隐身守侯 提交于 2019-12-12 02:54:53
问题 I have created a Google Form that has not yet been published. I would like to extract all of the form's items, item types, and item choices (as applicable) for use in a mail merge. I can't use the Response spreadsheet, created by Google, because the form's users may not select all of the available choices for a given item. My script functions adequately, except when trying to write the choices of a checkbox (or multiple-choice question or grid question) to the spreadsheet. When using the

Using data from sheet for form

廉价感情. 提交于 2019-12-12 02:44:44
问题 I have a google sheet where I've created a form (survey) using scripting. In that sheet, I've assigned x number of users a unique user id (e.g. DR8371 or JH3059) to help keep track of who's taken the survey and what their answers are (this is not meant to be anonymous). However, I can't figure out how to attach the user id from the sheet to the form (the sheet contains the form responses though). The first question on the form asks what the user's ID is, and I don't want the form to submit

Compare timestamp in two different formats - GAS

試著忘記壹切 提交于 2019-12-12 02:26:47
问题 I am using the enhanced workflow script that was posted by Mogsdad here. I have managed to work out a few issues but one that I am stuck on at the moment is the error that comes up from this section - // Record approval or rejection in spreadsheet var row = ArrayLib.indexOf(data, 0, timestamp); if (row < 0) throw new Error ("Request not available."); // Throw error if request was not found sheet.getRange(row+1, approvalCol).setValue(e.parameter.approval); I get the "Request not available"

Google Form Submit > Attach New Responses to Email and Send

被刻印的时光 ゝ 提交于 2019-12-12 01:06:33
问题 I have a script that turns a submitted form into a PDF and emails it automatically but I can't seem to get my head around if it is possible to implement a function i would like: - User fills in Google form Submits form This creates entirely new spreadsheet based on same headers from the form Emails thie spreadsheet as an .xlsx attachment automatically to a specific email address Is this possible? I feel like I am missing a simple way to do this but I am having a moment of noobishness! :-) 回答1

Does this code lock the onFormSubmit(e) method correctly?

此生再无相见时 提交于 2019-12-12 00:15:13
问题 I have a Google Spreadsheet script function onFormSubmit(e) that is called by a trigger whenever someone submits my form. Within the function I create a temporary copy of a template document and search and replace in it based on the submitted form values. Then that temporary copy is converted to a pdf and emailed to several email addresses, and then deleted. Now I've read that locking may be an issue here, and so I decided to get a LockService.getScriptLock() , and wrap my script in a lock

=QUERY syntax when working with data submitted via Google Form

烈酒焚心 提交于 2019-12-11 20:22:49
问题 The Query below 'works' on a line by line basis (when manually filled down), but it does not 'autofill' down when new data is added to the 'responses sheet'. The data being added to the 'responses sheet' comes from a Google form. =QUERY(Sheet2!$A$1:K; CONCATENATE("SELECT B, C WHERE A = ", responses!B1), 0) Question One - How do I adjust this Query so it will 'autofill' down when new data is added to the 'responses sheet' by a Google form? If this is not possible, any suggestions? Here is a

Is it possible to record latitude and longitude from google forms

房东的猫 提交于 2019-12-11 20:14:09
问题 I want to ask when I submit forms on Google forms, whether it's possible to update latitude and longitude for that response in response spreadsheet or not. Otherwise, is there any other way to record geo-location? 来源: https://stackoverflow.com/questions/24059763/is-it-possible-to-record-latitude-and-longitude-from-google-forms

Using HttpURLConnection on Android to submit to a Google Form

随声附和 提交于 2019-12-11 19:41:46
问题 I used the method in this question to post to a Google Spreadsheet form from my Android app. The method in the question uses the Apache HTTP Client which was removed in Android 6.0. While it is possible to use the Apache HTTP Client on Android 6.0, I'd like to implement the same functionally with HttpURLConnection. How can I post to a Google Spreadsheet form using HttpURLConnection? 回答1: I assume that the method you post a Google Spreadsheet is similar to the answer of this question. I

Put results of two forms in two sheets of one spreadsheet

我们两清 提交于 2019-12-11 19:32:45
问题 I have a system for accepting and reviewing grant applications. There are two forms: form submitted by an applicant with a grant request form sent by me to three reviewers to evaluate a grant request I'd like to have the results of both forms in one spreadsheet: Sheet 1 lists the data from the application forms (with an auto-generated serial number). sheet 2 lists the data from all the reviews for all the applications (with a column for the serial number of the application that was reviewed).