Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Submit a signed pdf via email

Avatar

Level 2

I am using livecycle 2 to create interactive forms.  The users will be working in Adobe Reader or Adobe Acrobat so I need this to work in both.

I have done this before, but the fields are not working properly and I am not quite sure how to fix it.  I used the generic button and wrote the following script in presubmit. 

F.P2.Button1::preSubmit:form - (JavaScript, client)

var strToAddress, strSubject

//Capture the values from the form fields.

strToAddress = txtToAddress.rawValue;

strSubject = txtSubject.rawValue;

event.target.submitForm({cURL:"mailto:"+ strToAddress + "&subject=" + strSubject + "&body=",cSubmitAs:"PDF",cCharset:"utf-8"});

In the two fields (strToAddress & strSubject), I entered in the information that I wanted in the Object, value, default line.  It seems to be combining some wierd combination of the default information from both fields into the To line and then using the file name as the subject line. 

Any suggestions?

0 Replies