Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Emailing form question

Avatar

Former Community Member
I have created a form and havegot it to work when I click send it opens up outlook and sends as xml is there anyway I can get it to send as an exact copy of the PDF with the users data that has been inputted for easier viewing elsewhere?
2 Replies

Avatar

Level 5
I use regular button rather than submit. And add the following code to 'click' event to get what you are expecting.<br /><br />event.target.mailDoc(false, <emailtoaddress>, "", "", <email subject>);<br /><br />This will attach copy of your form to the email. If want keep the toaddress and subject blank just use "" in place of variables.<br /><br />Good luck,<br />SekharN

Avatar

Former Community Member
I have tried this but it brings up a syntax error