Page Code Problems for Sending Selected Checkboxes Values to SendGrid E-mail Alert

Use $w(“#checkbox1”).checked to know if a checkbox is checked or not.
read more here