3,297 questions
1
vote
1
answer
59
views
How to set feedback for multiple choice questions using Google Script?
I am trying to automate generating google forms. Using json objects it will generate a Google Form. I am try to add feedback to my questions, but it says TypeError: FormApp.createFeedback(...)....
-3
votes
0
answers
62
views
How to create a custom google forms confirmation message that takes a value from google sheets which is created during an app script procedure [duplicate]
I have a google form that is used to create a pdf file based on a template and user input which I made in google scripts with the help of ChatGPT. The pdf file is saved in a folder in google drive. ...
1
vote
0
answers
46
views
How do you add branching code for questions [duplicate]
Every time I try to do this script code it doesn't appear in Google forms in the correct sequence.
I have a very long form that keeps changing so I need to see reliability where the Google form ...
-2
votes
0
answers
62
views
I want to create form items with right to left text using google apps script [duplicate]
I have a google spreadsheet with questions for a quiz and I want to extract the cells and create a google form from that spreadsheet, So I can then use it in google classroom. Gemini has written a ...
1
vote
2
answers
123
views
Check if item score in google form response is ungraded (or simply incorrect)
I have written the following context-bound Google App Script, bound to a (dummy) form containing a single question:
function setNewGrades() {
const form = FormApp.getActiveForm();
const items = ...
-1
votes
2
answers
107
views
why can't I retrieve my source and values from my google forms after submitting? [duplicate]
"I have installed the onFormSubmit trigger, but the Logger.log() shows an empty response. Here is my trigger configuration and my code."
Log file:
Mar 28, 2025, 9:34:06 AM Info {"...
0
votes
1
answer
72
views
Google Forms Script
I need help with a javascript code for randomizing sections (not just questions) in Google Forms. I have a code on what I want to do but it keeps telling me there is not enough sections found despite ...
1
vote
1
answer
90
views
Google-Forms EventListener
My goal is that on submitting the form a paypal page would open, but nothing happened so I added the logs which didn't log anything.
The first console logs of my code appear, but the ones inside of ...
0
votes
0
answers
38
views
Google Forms Apps Script doPost debug [duplicate]
I am trying to connect Mollie to a Google Forms Sheet, so that the payment status is updated when webhook is send.
Webhook is send out from Mollie
Webhook is recieved, but gives status failed
Issue ...
0
votes
0
answers
18
views
Google form can't find itself
I am doing some preprocessing on a Google form to load a dropdown field, however I get an error when testing the loading in editor run:
Exception: No item with the given ID could be found. Possibly ...
0
votes
1
answer
77
views
Submit Google Form via Google Apps Script giving 401
I try to submit Google Form using Google Apps Script. I found this tutorial and follow the instructions properly. Below is the code with a sample of public link I've generated from the Google Form ...
1
vote
1
answer
111
views
Capturing Google Form data as it gets filled [duplicate]
How can I capture Google form data entered in any section immediately upon clicking the Next button to move on to the next section (before submitting the form)?
Specifically here I wish to capture the ...
0
votes
1
answer
26
views
Is it possible to have multiple options for response validation criteria in a Google Form?
I would like an answer in a google form to contain 1 of the following criteria:
LDXXXX or ACXXXX (where XXXX = Numbers e.g. LD5432 or AC5643 etc),
ACCESS,
CCTV,
LOCAL, or
PW,
Is this possible to ...
-5
votes
1
answer
181
views
Google Apps Script for OTP Generation [closed]
I tried using a google apps script attached to a google form to generate a one-time password.
The script intends to make the respondent fill out the email id, leaving the OTP field blank. The submit ...
-1
votes
1
answer
66
views
Google Apps Script for inserting data onformsubmit is executing, but not inserting any data
I'm trying to reactivate scripts in Google Sheets which broke when my colleague's account got deactivated. He created them. They functioned before he left.
Now, these only work when I manually submit ...