- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 10:53 AM
Use Case: When I click a button "Outlook" Client load and auto populate Variable fields from the form into the email body in Outlook.
So I got the script to open outlook client.
- window.open('mailto:','email');
I try capturing setting variables and inputting them into the above script but it isn't working.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 01:37 PM
Replace code with below
window.open('mailto:test@live.com?subject='+setsubject+'&bodymessage%20goes%20here','email');
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 11:20 AM
line 2 should be var setSubject = g_form.getValue('u_system');

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 11:20 AM
The correct syntax is below
var setsubject = g_form.getValue('u_system');
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 01:25 PM
What about Body?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 01:34 PM