google-form

Edit Form Responses as soon as it is submitted

懵懂的女人 提交于 2019-12-01 13:12:57
Suppose I have a Google Forms that has only one item: a short answer item. As soon as I submit the form I would like a script so that it changes the response. For example, whatever the user enters to the question, I would like a script to change it to be "foo". The form responses Google Sheet should also show "foo" as the response. I know it involves something like ScriptApp.newTrigger("edit_response").forForm(form).onFormSubmit().create(); where form = FormApp.getActiveForm() and edit_response is a function that takes the event e . But I can't seem to find a method that can modify form

Does Google Forms allow for 'On-the-Fly' Section Duplication?

℡╲_俬逩灬. 提交于 2019-12-01 12:54:17
This is such an open ended question, (and Google search returned mixed results) but basically, I am trying to create a Google Form that dynamically creates new Sections based on a 'key' value the Form user would input in the beginning. E.g. "How many users are you provisioning for?" The input value (string) would be converted into a number (float) value and would then determine how many subsequent Section Types are created. Is this even possible with Google's existing Google Forms/Google Script framework? This is possible, but you would have to use multiple forms. Google forms are static and

Google FormApp Customisation

我是研究僧i 提交于 2019-12-01 12:34:23
问题 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!! 回答1:

Google script to get averaged scores and emails from Google Forms (as Quiz)

蹲街弑〆低调 提交于 2019-12-01 11:54:25
问题 I need a Google script (GAS) to retrieve both emails and total scores from a Google Form that was turned into a quiz. Within GAS you can get the score for each question, but I need to get the score of all questions and then average out the final score (each quiz has 20 questions). I also need the email of each person who finished the quiz. These quizzes are done within institutions so the "Collect email addresses" is selected. I need this and NOT the "responses spreadsheet" because I will be

Does Google Forms allow for 'On-the-Fly' Section Duplication?

℡╲_俬逩灬. 提交于 2019-12-01 11:30:41
问题 This is such an open ended question, (and Google search returned mixed results) but basically, I am trying to create a Google Form that dynamically creates new Sections based on a 'key' value the Form user would input in the beginning. E.g. "How many users are you provisioning for?" The input value (string) would be converted into a number (float) value and would then determine how many subsequent Section Types are created. Is this even possible with Google's existing Google Forms/Google

Edit Form Responses as soon as it is submitted

会有一股神秘感。 提交于 2019-12-01 09:54:39
问题 Suppose I have a Google Forms that has only one item: a short answer item. As soon as I submit the form I would like a script so that it changes the response. For example, whatever the user enters to the question, I would like a script to change it to be "foo". The form responses Google Sheet should also show "foo" as the response. I know it involves something like ScriptApp.newTrigger("edit_response").forForm(form).onFormSubmit().create(); where form = FormApp.getActiveForm() and edit

Is it possible to have a google form confirmation message that displays part of the response data?

偶尔善良 提交于 2019-12-01 06:13:24
I am setting up a google form for an upcoming auction. As bidders arrive at the auction, we will have them fill out a basic google form (i.e. name, address, ID) and a a 'Bidder ID' is auto generated based on the row number in the response spreadsheet. What I would like to happen is once the form is submitted, the confirmation message includes their 'Bidder ID'. The spreadsheet is setup to put the Bidder ID in Column J. Is this possible at all? Please let me know if more information is required. Many thanks. Ben No it's not possible. There is no way to add dynamic data to the custom

Is it possible to have a google form confirmation message that displays part of the response data?

六月ゝ 毕业季﹏ 提交于 2019-12-01 04:22:56
问题 I am setting up a google form for an upcoming auction. As bidders arrive at the auction, we will have them fill out a basic google form (i.e. name, address, ID) and a a 'Bidder ID' is auto generated based on the row number in the response spreadsheet. What I would like to happen is once the form is submitted, the confirmation message includes their 'Bidder ID'. The spreadsheet is setup to put the Bidder ID in Column J. Is this possible at all? Please let me know if more information is

Replace empty field with string on Google forms

我的梦境 提交于 2019-12-01 02:19:37
This code works great! Once the form is submitted, it auto-populates a template I have created, then send it to my email. This works great unless the user leaves empty fields on the form. If that's the case, the order of the auto-populate is wrong... Is there anyway to automatically include a text (for example "not specified") if the user decides to leave a field blank? If the user enters a text, great! if not, then I would want it to show "not specified". Please help! // Requisition Form // Get template from Google Docs and name it var docTemplate = "the tamplate I created"; var docName =

Form Google Script Prevent Duplicates

梦想的初衷 提交于 2019-12-01 02:01:56
I'm making a google form and I have a field called name with other fields like title, company, and email address. If there is already a specific person in the database, I want the other information to replace the old information with the new info (i.e. an update function), but I'm having trouble doing with that with Google Apps Script since I find the documentation rather pathetic. Would anyone mind giving me a hand? This won't prevent a Google Form from getting submitted with duplicate values in the first place, but I think what you want will look some thing like... function updateExisting()