google-forms

How to autofill Google form with random answears using JS

时光总嘲笑我的痴心妄想 提交于 2021-01-01 08:43:48
问题 I want to randomly fill a 100 google forms using JS. Is any way to do it? There is example google form. I couldn't find anything on stackoverflow or web, only python or java solutions. But I want to do it in javascript if it is possible of course. 回答1: Here is a dirty script, which could be a starting point. It only works with the specific form you provided as an example. It uses document.querySelector to target the form elements. As soon as you'll open the form, it will fill it, submit it,

How to autofill Google form with random answears using JS

蹲街弑〆低调 提交于 2021-01-01 08:43:47
问题 I want to randomly fill a 100 google forms using JS. Is any way to do it? There is example google form. I couldn't find anything on stackoverflow or web, only python or java solutions. But I want to do it in javascript if it is possible of course. 回答1: Here is a dirty script, which could be a starting point. It only works with the specific form you provided as an example. It uses document.querySelector to target the form elements. As soon as you'll open the form, it will fill it, submit it,

How to autofill Google form with random answears using JS

只愿长相守 提交于 2021-01-01 08:42:34
问题 I want to randomly fill a 100 google forms using JS. Is any way to do it? There is example google form. I couldn't find anything on stackoverflow or web, only python or java solutions. But I want to do it in javascript if it is possible of course. 回答1: Here is a dirty script, which could be a starting point. It only works with the specific form you provided as an example. It uses document.querySelector to target the form elements. As soon as you'll open the form, it will fill it, submit it,

Google Script - Form - live update for a text field

拜拜、爱过 提交于 2020-12-27 07:15:32
问题 My client has a huge list of contacts. I created a form with a scrolling list, in order to select a contact. The issue is that the scrolling list is too long. Is there a way (and if so, how?) for my client to start typing the first letters of a contact name, so the 'field area' (or other) fills in automatically the correspondant contact name? Thank you in advance for your help. Kind regards, 回答1: You can load the select with this javascript: function updateSelect(vA) { var select = document

Google Script - Form - live update for a text field

时光总嘲笑我的痴心妄想 提交于 2020-12-27 07:14:01
问题 My client has a huge list of contacts. I created a form with a scrolling list, in order to select a contact. The issue is that the scrolling list is too long. Is there a way (and if so, how?) for my client to start typing the first letters of a contact name, so the 'field area' (or other) fills in automatically the correspondant contact name? Thank you in advance for your help. Kind regards, 回答1: You can load the select with this javascript: function updateSelect(vA) { var select = document

Google Script - Form - live update for a text field

情到浓时终转凉″ 提交于 2020-12-27 07:13:52
问题 My client has a huge list of contacts. I created a form with a scrolling list, in order to select a contact. The issue is that the scrolling list is too long. Is there a way (and if so, how?) for my client to start typing the first letters of a contact name, so the 'field area' (or other) fills in automatically the correspondant contact name? Thank you in advance for your help. Kind regards, 回答1: You can load the select with this javascript: function updateSelect(vA) { var select = document

Google Script - Form - live update for a text field

核能气质少年 提交于 2020-12-27 07:13:50
问题 My client has a huge list of contacts. I created a form with a scrolling list, in order to select a contact. The issue is that the scrolling list is too long. Is there a way (and if so, how?) for my client to start typing the first letters of a contact name, so the 'field area' (or other) fills in automatically the correspondant contact name? Thank you in advance for your help. Kind regards, 回答1: You can load the select with this javascript: function updateSelect(vA) { var select = document

Google apps script - drawing as button to open Google form

老子叫甜甜 提交于 2020-12-16 07:10:01
问题 So I work with a very small business and I am working on shared contact database in Google Sheets. One of the things I would like to include is a simple button (I just used a drawing I made in Sheets) that says "Add New Contact" and when clicked it opens up a Google Form I created that will collect the contact info and store in it the Google Sheet. My question is... What Google app script can I use to achieve that task? I'm very new to Google Apps script so I don't really know how to go about

Google apps script - drawing as button to open Google form

北慕城南 提交于 2020-12-16 07:08:09
问题 So I work with a very small business and I am working on shared contact database in Google Sheets. One of the things I would like to include is a simple button (I just used a drawing I made in Sheets) that says "Add New Contact" and when clicked it opens up a Google Form I created that will collect the contact info and store in it the Google Sheet. My question is... What Google app script can I use to achieve that task? I'm very new to Google Apps script so I don't really know how to go about

How to automatically rename folder based on uploaded file if there are duplicated folder name Google Form

馋奶兔 提交于 2020-12-13 03:58:07
问题 This is the next episode of my previous question (which was solved): Google Form Upload files to specific new folder based on the value submitted SO, I succeeded to create a new folder on Google Drive based on value inputted by user in field NAME using this script. function onFormSubmit(e) { const folderId = "###"; // Please set top folder ID of the destination folders. const form = FormApp.getActiveForm(); const formResponses = form.getResponses(); const itemResponses = formResponses