- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
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