google-form

Google Forms file upload complete example

£可爱£侵袭症+ 提交于 2019-11-26 10:13:25
How do I allow my viewers to use Google Forms to upload some files to my form and save it to my Google Drive? I am looking for a complete example: It must tell what code to add to the example Google Form HTML source. How to use Google Apps Script to upload the viewer's file to my Google Drive account? Update: Google Forms can now upload files. This answer was posted before Google Forms had the capability to upload files. This solution does not use Google Forms. This is an example of using an Apps Script Web App, which is very different than a Google Form. A Web App is basically a website, but

Single Google Form for multiple Sheets

一曲冷凌霜 提交于 2019-11-26 09:46:35
问题 Due to ongoing development versioning, plus seemingly insurmountable problems implementing user permissions workarounds, I need to capture form data linked to a sheet which is not exposd to the users. Instead I want to launch the form from a separate spreadsheet app using a custom menu. Yet despite thorough Google searches, and the tantalizingly named \'FormApp.openById\' method, I can\'t find a way to accomplish this. I know I\'m off track here; could anyone please point me to the way back?

Using Android to submit to a Google Spreadsheet Form

只愿长相守 提交于 2019-11-26 09:29:08
问题 First time asking a question here. Usually I can find my answer without having to ask, but this time I\'m stuck and can\'t figure out what I\'m missing. I\'m just trying to have my Android app fill out a form on a website and submit it. I don\'t need the app to do anything with any data being sent back, just fill out the form and submit it. Basically I\'m trying to collect the results of a voting app. I thought form submission would be simple so I created a Google Spreadsheet and made a form

Dynamically edit multiple choice options in live Google Form using Apps Script

血红的双手。 提交于 2019-11-26 08:28:22
问题 I\'m a high school teacher in L.A. trying to create a course registration system using Apps Script. I need the Google Form I\'m using for this registration to: Question 1) Update the choices available in subsequent multiple choice questions on new pages based on a student\'s current response choices. Question 2) Eliminate choices from the form when a multiple choice option has reached it\'s \"cap\". Question 1 Example) A student registers for “tie-tying” in workshop 1, and gets taken to a new

How can I be getting multiple unwanted event blocks from the same onFormSubmit Trigger?

非 Y 不嫁゛ 提交于 2019-11-26 03:28:25
问题 I created a one question form this morning because I wanted to look at the event block for myself. However, the process took an unexpected turn for me. My description follows: I\'m logging the onFormSubmit event with the following code: function testFormSubmission(e) { var lock=LockService.getUserLock(); try{ if(lock.tryLock(30000)) { var ss=SpreadsheetApp.getActive(); var sh=ss.getSheetByName(\'LogSheet\'); var tA=[Utilities.formatDate(new Date(), Session.getScriptTimeZone(),\"d/M/yyyy HH:mm

Is it possible to 'prefill' a google form using data from a google spreadsheet?

核能气质少年 提交于 2019-11-26 01:57:30
问题 I\'m looking for a way to \'pre fill\' a google form with specific data from a google spreadsheet. The form will have the same \'standard\' questions for everyone, but the data in the first two question will be \'prefilled\' with unique data from an existing google spreadsheet. The data will be unique based on their email address in the existing spreadsheet. SOURCE SPREADSHEET EXAMPLE Col 1 Col 2 Col 3 email name birthday @mike Mike Jones May 9th 1975 @jim Jim Smith April 19th 1985 FORM