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

I did and now, after selecting all the boxes, the email I receive in the “Services” section does not come with any information.

Below is the new code and the test prints I made (Form Filled and E-mail Received).

$w.onReady( function () {
$w(“#checkbox1”).checked = false ;
$w(“#checkbox2”).checked = false ;
$w(“#checkbox3”).checked = false ;
$w(“#checkbox4”).checked = false ;
$w(“#checkbox5”).checked = false ;
$w(“#checkbox6”).checked = false ;
$w(“#checkbox7”).checked = false ;
});

$w.onReady( function () {
//TODO: write your page related code here…

});

import { sendEmail, sendEmailWithRecipient } from ‘backend/email’;

$w.onReady( function () {
$w(“#dataset1”).onAfterSave(sendFormData);
});

function sendFormData() {
const subject = Nova Solicitação de Orçamento de ${$w("#input1").value};

let services = ‘’
if ($w(“checkbox1”).checked)
services += “Captação de Imagens”
if ($w(“checkbox2”).checked)
services += “Captação de Áudio”
if ($w(“checkbox3”).checked)
services += “Iluminação LED”
if ($w(“checkbox4”).checked)
services += “Imagens Aéreas”
if ($w(“checkbox5”).checked)
services += “Estabilização de Imagens”
if ($w(“checkbox6”).checked)
services += “Edição”
if ($w(“checkbox7”).checked)
services += “Motion Graphics”

const body = Nova Solicitação de Orçamento de ${$w("#input1").value} \rNome: ${$w("#input1").value} \rEmpresa: ${$w("#input4").value} \rTelefone: ${$w("#input2").value} \rEmail: ${$w("#input3").value} \rObjetivo **do** Vídeo: ${$w("#textBox1").value} \rReferência: ${$w("#input8").value} \rData: ${$w("#input6").value} \rLocal: ${$w("#input7").value} \rServiços: ${services} \rDuração aproximada **do** vídeo: ${$w("#dropdown1").value} \rVídeo Finalizado em: ${$w("#input5").value};
const recipient = $w(“#input3”).value;

sendEmailWithRecipient(subject, body, recipient)
.then(response => console.log(response));

sendEmail(subject, body) 
    .then(response => console.log(response)); 

}