Skip to main content
August 25, 2024
Question

TypeError: this.removeField is not a function, Adobe Reader

  • August 25, 2024
  • 1 reply
  • 213 views

Related Post 

 

I am trying to implement a duplicate feature which automatically adds prebuilt sections to the form in PDF

to change position and page of fields i am using this.removeField but its not working in chrome, android, opera

 

in android it's showing this error `TypeError: this.removeField is not a function, Adobe Reader`

i am using it like this in the code

```
if (this.addScript) {
this.addScript("rmField", function rmField(tag) {
this.removeField(tag);
});
}
```

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
August 25, 2024

The addScript method doesn't work in Reader at all, and especially not on a mobile device, where support for scripting is very limited. The removeField method will work on a regular copy of Reader for PCs, but not on a mobile device.