Expand my Community achievements bar.

Changing XML format to PDF - not using the "Submit" button feature

Avatar

Former Community Member
Hi,

I'm super stuck and hope someone can help me. I'm using the below code to submit my form data through email w/

1- an email address selected from a dropdown list AND

2- displaying a custom subject line



This part works - I was able to piece together a bunch of different answers from the forum. I'm using a hidden Email Submit Button too.



I've tried to add "cSubmitAs: PDF" to the code and it doesn't do anything. I can't use XML format and need PDF. Help.



var emailAddress = "mailto:" + DropDownList2.rawValue;

form1.Subform10.EmailSubmitButton1.resolveNode("#event").submit.target = emailAddress +"?subject="+ TextField3.rawValue;

form1.Subform10.EmailSubmitButton1.execEvent("click");
0 Replies