How to restrict google forms submission based on two ID using GAS on Google Form or Google Sheets
问题 I'm working on a query Google Form which collects participants' votes to a certain question. I want to restrict participants based on the ID number. I was thinking of three approaches: Prevent form submission if the entered ID is not on the given list. (I prefer this approach but couldn't find any useful code for it so far) Delete rows in the linked responses spreadsheet after form submission using GAS on Google Form through onFormSubmit trigger. Here is my code which is not working: function