google-form

Getting a Google Form Script generated email to pipe data into Reponse Sheet

不羁岁月 提交于 2019-12-02 10:24:31
I am currently trying to setup an approval workflow. I'm fairly junior when it comes to some of this stuff. But so far have it working at respectable level to fit our needs with the assistance of an example. I was using the template/example from Email Approval using Google Script and a Form . The issue I am running into, with a lack of functionality is that at the time of Accept or Deny via the Email that is generated for approval I would like it to then record that data back into the Google Form row in the last column that the email was generated from. I may end up adding 2nd timestamp, reply

How to pull data from Google Form and display result before submission?

若如初见. 提交于 2019-12-02 09:32:41
Say I have a google form here: https://docs.google.com/forms/d/1HnATawk6ioE7_EVKrtszxvScjmUSF7_ma0_9XhBZ-hw/viewform The user will input numbers. As a confirmation before they submit the form, I'd like to use those numbers to display the analysis of the data which they can verify before submission. (To be precise, I'd like to display the sum of the first 4 numbers, then the sum of the next 4 numbers, then state which sum is bigger, and by how much) Is there any way to do this? marikamitsos What you are asking for is to create dynamic data in Google Forms without clicking the submit button.

Copying a spreadsheet copies all linked files as well

痞子三分冷 提交于 2019-12-02 07:35:28
I want to be able to only copy the spreadsheet and all it's sheets along with all defined sheet names, when I utilize the library method: spreadSheet.copy(newSSName); Or, myFile.makeCopy(newNameOfFile); Currently these methods copy all linked forms and scripts used in the forms. This is an unnecessary side effect for what I need and will result in a large mess in the Drive folder. Is there a way to do this quickly and efficiently without copying cell by cell, sheet by sheet? Or is that the only option? Thanks. How about this workaround? In this workaround, Sheets API is used for copying a

Creating a google form from a google spreadsheet

你。 提交于 2019-12-02 07:17:49
I have created a google spreadsheet to automatically convert into a google form, so i don't have to manually enter all the questions into the google form. I am writing google app script and managed to get all the questions.I am trying to divide the form in to sections depending on the first column of the sheet. So if the first column is "1" questions corresponding to it should be on the first section and if it is "2" it should create another section.And so on. How can i do that? what will be the code? I have attached the google sheet as here Google spreadsheet function myFunction() { var ss =

Sending emails twice with MailApp.sendEmail

让人想犯罪 __ 提交于 2019-12-02 04:46:41
问题 I have created a google apps script to automate emails once a Google Form is submitted. The script is quite simple: function AutoConfirmation(e){ var theName = e.values[1]; var theEmail = e.values[2]; var theSubject= e.values[3]; var myEmail = "myemail@gmail.com"; var theMessage = e.values[4]; var subject = "Contact form response – " + theSubject; var message = theMessage; MailApp.sendEmail (myEmail, subject,message); } However, fo some reason I can't figure out, every time a form is

How can I script a Google Form from a Spreadsheet to go to a specific page based on an answer?

[亡魂溺海] 提交于 2019-12-02 04:33:27
I have successfully created a Google form that populates from a spreadsheet using code adapted from here: https://www.youtube.com/watch?v=BYA4URuWw0s . Now I would like to make the form go to a specific question based on the answer of a previous question without losing the function of updating from the spreadsheet. I have tried to alter code from here: How to assign Go_To_Page in Form Service on Multiple Choice? , but have yet to have any luck. Below is what I have as of now. I am very new to coding and any help will be greatly appreciated. Thanks in advance!!! //insert your form ID var FORM

Ensure form submission trigger runs only one sheet

蓝咒 提交于 2019-12-02 04:13:40
I have two sheets in a particular spreadsheet both of which have form submissions tied to them. The first sheet/form is supposed to send an email containing the form submission data (the original was created by Amit Agarwal, here's an historic link ). The second form/sheet doesn't do anything special as it just collects data from the form. The script in question is set to a On Form Submit trigger. The issue I am having is that the script sometimes runs from form/sheet2. I would like to specify which sheet/form the script needs to be triggered from to run on. The modified code that I have

Change form palette via google scripts

人走茶凉 提交于 2019-12-01 18:59:55
问题 I need a help. I am using Google App Scripts for creating Google Forms. How I can change form's color/palette? I tried to find here https://developers.google.com/apps-script/reference/forms/, but nothing found. 回答1: For the moment you can't, FormApp works with the first version of Forms, so for the moment no templates available programmatically. Last news on the subject here 回答2: Good to note that once you generate a form programmatically, you can then edit it just like a regular form. You

Change form palette via google scripts

夙愿已清 提交于 2019-12-01 18:37:33
I need a help. I am using Google App Scripts for creating Google Forms. How I can change form's color/palette? I tried to find here https://developers.google.com/apps-script/reference/forms/ , but nothing found. For the moment you can't, FormApp works with the first version of Forms, so for the moment no templates available programmatically. Last news on the subject here Good to note that once you generate a form programmatically, you can then edit it just like a regular form. You get the link to the editable page from form.getEditUrl() . I was facing the same issue here and found a workaround

Google FormApp Customisation

淺唱寂寞╮ 提交于 2019-12-01 14:28:09
I've found lots of examples of coding the deprecated UIapp forms, but very few using the new FormApp class. What I need is essentially a Grid control that has text boxes for input in place of radio buttons - a table in other words! I'm finding nothing that shows how to set up a table with positioning or a container. Any suggestions? Preferably I'd love a link to a site that details lots of examples of coding the FormApp as I'm sure this is just the start of a new learning curve. Thanks!! Google's FormApp is limited to a fixed number of Item types - just those that are provided by the Forms