google-form

Send email based on the sum of cells from a form submission in Google Sheets

佐手、 提交于 2019-12-11 18:37:07
问题 I have a form with a series of linear scale questions. The submission goes to a sheet where I want to get the total of their answers and if the figure is 40 or over send them email "A" and if it is 39 or below they get email "B". Is there a way to sum columns B:G in the newly created row when the form is submitted, get the user's email address from column H and use the sum of B:G to determine which email is sent? I've been through the App Script documentation a bunch of times and can't seem

Android Webview doesn't show keyboard when text edit field got a focus

萝らか妹 提交于 2019-12-11 18:33:54
问题 I have DialogFragment and a WebView into it, that opens with Google Forms web page. But keyboard not showing when clicking on text input field. Any suggestions? Original Android 8.1 (Nexus 5x). WebView webView = binding.webView; webView.requestFocus(View.FOCUS_DOWN); webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl(google_form_url); Layout: <layout xmlns:android="http://schemas.android.com/apk/res/android"> <data /> <WebView android:id="@+id/webView" style="?android:attr

Close Htmlservice popup

别说谁变了你拦得住时间么 提交于 2019-12-11 17:03:58
问题 I am wondering if is possible to close the htmlservice popup when the submit button is hit on the Google form function launchForm() { var form = FormApp.openById('15Qw9jmolybvMbx2d3UhddEWHrKe0zBiV5_asKXolsM0'); var formUrl = form.getPublishedUrl(); // var response = UrlFetchApp.fetch(formUrl); // var formHtml = response.getContentText(); var htmlApp = HtmlService .createHtmlOutput('<h1>Your Organization</h1>') .append('<iframe src ="' + formUrl + '?embedded=true" width="1000" height="900"

Where can I find documentation on Google script functions for features introduced in June 2016 Google forms update

前提是你 提交于 2019-12-11 16:26:35
问题 I am looking for documentation on Google script functions related to the new features introduced in the Google forms update for June 2016: Make this a quiz Assign points to questions Add explanations to answers See a summary of your responses Choose what people can see after they submit Send results via email Go here for more information about features: https://support.google.com/docs/answer/7032287 None of the reference documents have been updated at the Google Developers site since the

Recurring generic error message Google Apps Script

孤者浪人 提交于 2019-12-11 15:54:50
问题 EDIT: Not sure if this matters but I am using G Suite for Nonprofits.END EDIT::: I keep getting this error message upon attempting to manually run this script for the first time: We're sorry, a server error occurred. Please wait a bit and try again. (line 2, file "Code")). I have saved it and authorized its permissions already. I am simply trying to execute the script to get all of the existing responses' edit URLs. There are no triggers associated with this. The script is intended to get the

Measure time to fill section - google forms

别等时光非礼了梦想. 提交于 2019-12-11 12:18:43
问题 I'm trying to use google forms for a research questionnaire. for some of the sections I want to automatically measure the time takes the user to fill. there is no option like this in google forms. I've tried to copy the form source, and fill the time with javascript but it didn't worked (Cross-Origin issue) - Didn't succeed to host the copied form. How it can be done - how can I measure the time that took to answer a form? is there an other forms-like service that allow measuring time per

Google Forms Onclick Submit

夙愿已清 提交于 2019-12-11 11:48:43
问题 I have created a simple Google Form with two multiple choice answers (Yes and No). Image below. The form works fine when I select an answer then click the submit button. I'm wondering if it's possible to submit the form immediately when an option is selected? Then refresh the page. I've been reading about triggers here but not sure where to start, or if it's even possible. Google Forms is my only option at current, I know this is possible via other methods. Any advice is appreciated. 回答1: I'm

Pass a variable between a script bound to a Google Form and a script bound to its destination sheet

我只是一个虾纸丫 提交于 2019-12-11 10:47:03
问题 I am having issues getting information from a Google Form into a Google Sheet. I am looking to get the edit url onFormSubmit and then set it to the end of the record in a column where the responses are stored. Research: I asked this question, which started as a script bound to the sheet but trying to access the form. It then became a script bound to the form, trying to access the sheet. I found this question which looks to be related to my question (with a slightly different use case).

Google Spreadsheet doesn't start at top when responses are cleared

℡╲_俬逩灬. 提交于 2019-12-11 08:09:29
问题 I have a form that inputs the form's data into a google spreadsheet. This data is listed in order of submission. When i clear the content of the spreadsheet, the next data is inputted as if the other data existed, x number or rows down. data data clear (empty) (empty) data Here is the script I'm using to clear the content function clear() { var sheet = SpreadsheetApp.openByUrl('https://docs.google.com/spreadsheets/d/1IEcXuEtkwVmnOEeQE71YQcZTrSkFa1OjlP8JpXGonHk/edit#gid=2015797647')

Daily time limitations from Google Scripts in Google Forms

こ雲淡風輕ζ 提交于 2019-12-11 07:34:47
问题 I have a google form ready but I wish to set a time limit on it so that it goes live everyday from 8am (it starts accepting responses) to 5pm (it stops accepting responses). I managed to find something close to what I wanted here https://www.labnol.org/internet/schedule-google-forms/20707/. I am not a programmer with no knowledge of JS but have a little knowledge on C++ (mandatory university unit). I have tried to tweak the sourced code to my wishes by researching online. here is my script in