dwyl / learn-to-send-email-via-google-script-html-no-server

:email: An Example of using an HTML form (e.g: "Contact Us" on a website) to send Email without a Backend Server (using a Google Script) perfect for static websites that need to collect data.
GNU General Public License v2.0
3.15k stars 910 forks source link

checkboxes shown as selected #414

Closed Batareika007 closed 2 years ago

Batareika007 commented 3 years ago

Hi, Thanks for great work ! I have issue, all checkboxes selected, it's not counting if I check it or not, always in mail I get all of them selected. If I remove the form-submission-handler.js file from html, I get exactly what I checked and all working great. It's something in script I think, but I don't have knowledge to understand exactly what is it.

Thanks!

Batareika007 commented 3 years ago

I think I got this... there need to be same name in all input checkbox. sorry, I junior web developer

mckennapsean commented 2 years ago

thanks for the posting your finding, @Batareika007 & that does sound right! It is an easy thing to miss (oh HTML). hope it is working just fine for you now!