Hi everyone,
I need to add a submit button to my livecycle designer form that allows the user to submit the entire pdf to a folder on a remote server. I tried putting the following code on the click event for my button:
var myURL = “http://mysite.com/test/”;
var myDoc = event.target;
myDoc.submitForm({cURL: myURL,cSubmitAs: “PDF”,cUsageRights: submitFormUsageRights.RMA });
Although when I opened up the file in Acrobat pro and clicked the button, nothing happened.
Would anyone know what I'm doing wrong?
Grateful for any advice.