Avatar

Level 10

Place button on the form. Set it to Regular.

Copy and paste the below code in the click event.

Modify the below variable value assignments with the field names on your form.

If you donot need CC Email address, set it to null.

     strCCAddress = "';

Hope this helps.

var strToAddress, strCCAddress, strSubject, strMessage

strToAddress = txtToAddress.rawValue;
strCCAddress = txtCCAddress.rawValue;
strSubject = txtSubject.rawValue;
strMessage = txtMessage.rawValue;

event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF",cCharset:"utf-8"});

Thanks

Srini