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

checkbox input always give "on" even when is off #455

Open cabralium opened 5 months ago

cabralium commented 5 months ago

The title may be confusing but even when the checkbox is off, the spreadsheet and the email says on. If I change the value to something like "yes", it will show yes even if the checkbox is off. The only way I was able to make it work is by using two radio inputs with the same name atributte but different values, but that isn't the way I was intending to do. This is probabily a dumb question, but I'm really new to html so I have no idea.

cristianofromagio commented 5 months ago

Hi, can you describe a simplified example of what you are trying to create? And if possible, share your current code (if you're not confortable sharing the content, use filler text).