I must have forgotten a step in making an email button that will pull the data from a form field into the subject line of an email and let me create the body of an email.
I am taking a Button and adding a Click event of:
var Mailto = "test@test.com";
var BetreffSubject = Legal_Name.rawValue;
var NachrichtMessage = "This is line 1.\r\rConfidentiality Notice!\rThis is the start of the third line ";
var Mail = "mailto:" + Mailto + "?Subject=Site Report for " + BetreffSubject + "&Body=" + NachrichtMessage ;
event.target.submitForm({
cURL: Mail,
bEmpty: true,
cSubmitAs: "PDF"
});
When I click on the button, nothing happens. what am I doing wrong?