How to indicate a specific google form has been submitted

I have two google forms and two functions in google app script, and i want that suppose form 1 is been submitted then function x should run and if form 2 has been submitted then function y should run, but in the project triggers there is no option to select which form was submitted, the project trigger has option on form submit, so my problem is even if any form is submitted then both function will run, so i need the function to only run when it’s specific form is submitted

this seems to be a Google Apps Script question…
you might want to ask in Stackoverflow Newest 'google-apps-script' Questions - Stack Overflow

Taifun

1 Like