Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

E-mail submit button not working properly

$
0
0

Hello, I am on Win 7 and using Adobe LiveCycle 9.0.0.2, and have a big problem.  I have an e-mail button with the following code:

 

form1.#subform[0].Button1::click - (JavaScript, client)

 

var strToAddress2, subjtag2, strSubject2, strMessage2, strMessage3

 

strToAddress2 = "ADDRESS1@company.com";

subjtag2 = "SUBJECTTAG1 ";

 

strSubject2 = "SUBJECTTAG2";

strMessage2 = txtMessage2.rawValue;

strMessage3 = "\n\n**E-MAIL BODY TEXT.**";

 

event.target.submitForm({cURL:"mailto:"+ strToAddress2 + "?subject=" + subjtag2 + strSubject2 + "&body=" + strMessage2 + strMessage3,cSubmitAs:"PDF",cCharset:"utf-8"});

 

//this.resolveNode("#event").submit.target = "mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage;

 

//this.resolveNode("#event").submit.target = "mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage;

 

The problem is, this button works fine on the originally created document.  But when I go into the form and change ANYTHING at all, even text in an unassociated field, not touching the button code and then re-save the document, OR if I copy the button over to a new document, the functionality goes away and clicking it does absolutely nothing.

 

Can anyone help?


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>