Open distributev opened 8 years ago
I think you are using an old version, Version 58 uploaded 10 days ago has this lines:
var se = document.getElementById('sendEmail').value; if (se){var sendEmail = 1}else{var sendEmail =0} var url = "https://script.google.com/macros/s/AKfycbzdkgpfWPrBUNWd8oe9uFg1KCjSBQjCcLuiCEx6Fcb3MuY2Nko/exec?"; url = url + "req=event&email="+email+"&etype="+typ+"&desc="+ds+"¬es="+nt+"&edate="+dt+"&sendEmail="+sendEmail;
I'll double-check this.
No matter if the Send Email checkbox is selected or not
&sendemail=1
it's always passed.
The correct value should be passed depending if the checkbox is selected or not.