Expand my Community achievements bar.

Change filename of xml attachment (using submitform)?

Avatar

Former Community Member
The script below launches an email message with the content of the form as an XML attachment. The XML filename is a unique, generated one. How can I speciy what the filename should be? (I want to use reference fields on the form to construct the filename).



event.target.submitForm({cURL:"mailto:me@somwhere.com?subject=Subject&body=Please find attached the completed form.",cSubmitAs:"XML",cCharset:"utf-8"});
0 Replies