Adding form data into subject & body - submit form - JavaScript
Hi All,
Bit of a noob when it comes to JavaScript so any help for dummies would be greatly appreciated.
I'm trying to configure my email submit button on a form.
Current Script I have is:
this.submitForm({
cURL: "mailto:email1@hotmail.com?&cc=email2@hotmail.com;email3@hotmail.com;email4@hotmail.com;email5@hotmail.com&subject=TEST",
cSubmitAs: "PDF"
});
I have to be able to add form fields (hospital & commencement are the field names) into the subject and also potentially the Body as well as some hardcoded text.
Is there an easy was to configure this using that script?
Thanks,
Chris
