- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
The example gets the email address and the subject line based on objects in the form.
If your form does not have these objects, then the script will fail.
Here is script that does not rely on objects in the form:
var vEmail = "niall@ireland.com";
var vSubject = "This is the subject line";
var vBody = "Hi\n\nPlease find attached the completed form in PDF format.\n\nRegards,\n\nNiall"
event.target.submitForm({cURL:"mailto: "+ vEmail +"?subject=" + vSubject +"&body=" + vBody,cSubmitAs:"PDF",cCharset:"utf-8"});
I hope that helps,
Niall
Views
Replies
0 Likes
Total Likes