I’m trying to collect the information from the checkboxes present in a form and send them to my email each time it is filled, but I’m facing the following problems:
1 - When I select ALL the checkboxes, the email that I receive from the alert is missing the values referring to some of the selected boxes. The order of the values sent and not sent is random.
2 - When I select SOME of the check boxes, the email that I receive from the alert is missing values referring to some of the selected boxes. The order of the values sent and not sent is random.
I’ve followed the following steps to create the form and set up the page codes:
1 - I created the form on my website and configured the email notifications through SendGrid following this tutorial: https://www.youtube.com/watch?v=bPd7o7hUfGk&t=0s&index=6&list=PL9c-QNCP6mK3_0G4pmbgfEMzVGKkgmUMU
2 - I connected all the check boxes to their respective items in the Database
3 - Activated the “onClick” function of all the check boxes.
4 - I added the page codes to configure the values for each of the check boxes and the events that will happen each time one of them is selected following this tutorial: https://www.youtube.com/watch?v=kc1YBFG2tXA&feature=youtu . be
Below are the code prints and the form print.
The line that I’m having this problems is:
\ rServices: $ {$ w (“# textBox1”). value} + $ {$ w (“# checkbox2”). value} + $ {$ w (“# checkbox3” “# checkbox4”). value} + $ {$ w (“# checkbox5”). value} + $ {$ w (“# checkbox6”).
Any suggestions for me to be able to improve this code and have the values of the checkboxes that was selected in the email I receive from SendGrid?
Thank you so much, guys!
Regards!