I have a google form, and have added a script to it.
I created a function:
function myFunction(e)
{
Logger.log(e);
}
Then I went to Edit > Current Project Triggers
I added a new trigger, selecting myFunction, and the following settings:
- Select Event Source = From Form
- Select Event Type = On form submit
When I submit the form and check the logs, I see:
{authMode=FULL, source=Form, triggerUid=25580}
It does not have a response object
I have a number of other forms set up and are working and allow me to use the response object. I haven't created a form in a while - and now I can't get them to work. I've set them up the same as the others as far as I can see.
Any idea as to why I am no longer able to access the response object on the event?
e.response.getId()
and see what happens. If this is a bug, then you should submit a complaint on the Issue Tracker – Alan Wells