Copy link to clipboard
Copied
Hello All,
I have a question , When I used the below method it's not able to call the web service, if pdf has 10 images on the pdf and size is 10kb each. Is there size limit when we used the below query.
var fields = [];
var Arrays =[];
for (var i = 0; i <= this.numFields - 1; i++)
{
fields.push(this.getNthFieldName(i));
Arrays = fields.sort( function(a,b)
{return a - b; } );
}
var aSubmitFields = fields ;
this.submitForm({
cURL: "http://localhost/Ssvc/df",
aFields: aSubmitFields,
cSubmitAs: "FDF"
});
Is there any alternative way for doing this?
Thanks
Copy link to clipboard
Copied
What happens when you use it? Any error in the Javascript console?
Copy link to clipboard
Copied
I can not see any errro in the console, It's just say Genral Error, Nothing done. If I'm removing Images on the pdf two images it started working
Copy link to clipboard
Copied
Does it work if you submit it via email, for example?
Copy link to clipboard
Copied
if I submit as email, it won't inculde Images. It's working if I submit as email.
Thanks
Copy link to clipboard
Copied
Does it working or not?
Copy link to clipboard
Copied
It's working but If it's not including images then It's no good for me. I need images which works with this
var fields = [];
var Arrays =[];
for (var i = 0; i <= this.numFields - 1; i++)
{
fields.push(this.getNthFieldName(i));
Arrays = fields.sort( function(a,b)
{return a - b; } );
}
var aSubmitFields = fields ;
this.submitForm({
cURL: "http://localhost/Ssvc/df",
aFields: aSubmitFields,
cSubmitAs: "FDF"
});
if there are more than 5 images It's does not work
Copy link to clipboard
Copied
it does not work when you use a email for the parameter cURL?
Copy link to clipboard
Copied
The submitted data is the same, regardless of how you send it.
Copy link to clipboard
Copied
Could you please tell me how I should need to submit it.