Hello,
How can I make #datePicker3, #datePicker2, #input1, #input2 & #dropdown1 values below bold via code?
import {sendEmail, sendEmailWithRecipient} from 'backend/email'; $w.onReady(function () { $w("#dataset1").onAfterSave(sendFormData); }); function sendFormData() { const subject = `NEW enquiry...`; const body = ` \rABC required from ${$w("#datePicker3").value} to ${$w("#datePicker2").value} for ${$w("#input1").value} adults and ${$w("#input2").value} children in ${$w("#dropdown1").value}. sendEmail(subject, body) .then(response => console.log(response)); }
If you use SendGrid (as you mentioned in your other posts), you should set the style in SendGrid template.