Aspose library is not able to detect the JavaScript in the PDF

image.png (2.3 KB)

I am using Aspose library for filling out the form fields.

I have eight boxes in a field similar to the one above. Each digit should go in its own box if my input value is less than or equal to 8. I am using a Adobe’s comb of property to accomplish that.

Say If my input value is greater than 8 then entire value should be adjusted in the given 8 boxes. But when I use comb of then value greater than 8 is getting trimmed off from the field.

Therefore, I utilized Adobe’s Java script to accomplish the above scenario. Using a Java script, I was able to find the solution. It functions flawlessly in Adobe Reader. However, my code did not function when I uploaded the identical PDF in it.

@hemanthkumarjallipalli

Can you please share your sample PDF and the code snippet with us? We will test the scenario in our environment and address it accordingly.