Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Allow users to make yes/no decisions using checkboxes

$
0
0

I'm looking for a way my users can interact with my scripts. I'd like to use checkboxes to work like a "yes/no" command, where the script does "A" if the checkbox is ticked, and "B" if the checkbox is NOT ticked.

Problem is, I can't get my head around the syntax of the "if" statement. I can do fine in Google Sheets, but not so much in Google Script, and I need a Script solution.

Any help out there?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>