I have a script to run a function when a Google Form is submitted, and a new row added to my google spreadsheet. Alas, it fails to trigger. There is no error reported and I don't receive a notification email. The function works when executed manually, and new rows are added to the spreadsheet as expected when a form is submitted.
I have installed the trigger through the resources tab, to run onFormSubmit() when theres an event on the spreadsheet. I have tried onChange and onFormSubmit, both with no response. The on edit trigger works as expected when I manually edit the spreadsheet. The simple function it should run is below.
function onFormSubmit() {
Browser.msgBox("Success")
}
Any pointers would be greatly appreciated, thanks.