Recently, my work computer was swapped out for a more powerful model. IT reinstalled Adobe Pro 8. and LiveCycle 8. When I tried to work with some forms I had created on my old computer I get error messages on script that used to work. The forms on SharePoint still work fine. Could this be a problem with the reinstall? Although, maybe Mercury is in retrograde and nothing will make it work.
The script involves a submit button that reads an address typed into a text field (email). The code that used to work is:
----- form1.#subform[0].Button1::click: - (JavaScript, client) --------------
var mail;
var address = email.rawValue;
var sub = subject.rawValue;
mail = "mailto:" + address + "?subject=" + sub;
event.target.submitForm({cURL: mail, bEmpty: true, cSubmitAs: "PDF",cCharset: "utf-8"});
The error message is:
RaiseError: This operation is not permitted.
Doc.submitForm:8:XFA:form1[0]:#subform[0]:Button1[0]:click
===> This operation is not permitted.
Should this code work?
Have you ever heard of a reinstall causing problems with previously written code?
Any suggestions?
Thanks, VC
Then you can't mail a form from Acrobat/Reader.
Read this article for more details:
[url]http://help.adobe.com/en_US/Acrobat/9.0/Standard/WS571A8F2F-B971-435c-9FD3-E6789CCAFFFC.w.php[/url]
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs