Copy link to clipboard
Copied
Hello All,
I'm calling my web Service from the Submit button. I'm sending as a FDF include Comments. when I'm calling it as physically click on the button it's sending comments, but when I tried to call it with Java scipt it does not include coments/Stick notes.
I have tried the below method:
var myURL = "http://localhost.../"
this.submitForm(myURL, null, "HTML");
this.submitForm("http://localhost",
true, false,"");
//var cd=('http://localhost');
//this.submitForm(cd,"Comment", "#FDF");
Can someone please help me.
1 Correct answer
In your sample you use only 5 parameters. bAnnotions is the 6th parameter.
Copy link to clipboard
Copied
It will not include comments when you submit as HTML.
Copy link to clipboard
Copied
I have tried with Submit with FDF as well.
Could you please tell me the workaround.
Copy link to clipboard
Copied
None of your examples set the required bAnnotations parameter. What are you using for reference documentation? You must use the Acrobat JavaScript API document, you cannot write Acrobat JavaScript using Google.
Copy link to clipboard
Copied
I'm using API document for Reference, I was looking for Option as submit button wth Parmeter.I have tried the below one.
this.submitForm(myURL,true, true, null, true);
that did not work. I have checked Bible did not find anything with submit button
Copy link to clipboard
Copied
You doesn't have specified the bAnnotations parameter.
Copy link to clipboard
Copied
Thanks for that.
I have tried the below one but that is not working.
//cURL, [bFDF], [bEmpty], [aFields], [bGet], [bAnnotations],
var myURL = "http:URl"
this.submitForm(URL,true,false,true,true);
I'm passing the bAnnotations but it's not working
Copy link to clipboard
Copied
In your sample you use only 5 parameters. bAnnotions is the 6th parameter.

