Copy link to clipboard
Copied
Hi,
want to unset the property "scroll long text" for all text fields in a multipage document with several form elements. But what is the name for this property? And the same for "Rechtschreibprüfung" ...
for (var i = 0; i < this.numFields; i++) {
var fName = getNthFieldName(i);
var f = getField(fName);
if (f.type === "text") {
f.??? = ???
}
}
thanks again!
mycc
ah, sorry, after another web search I found it – hours later:
f.doNotScroll = true;
Copy link to clipboard
Copied
Copy link to clipboard
Copied
f.doNotScroll = true;
[Just to mark it as answered]
Copy link to clipboard
Copied
... and for the Rechtschreibung 😉 → f.doNotSpellCheck = true/false;
Difficult (for me), to find such things.
Even on this page I had no luck: https://opensource.adobe.com/dc-acrobat-sdk-docs/search.html?q=doNotSpellCheck&check_keywords=yes&ar...
Downloaded all the mentioned PDFs:
Copy link to clipboard
Copied
Unfortunately, the links to the Acrobat JavaScript API Reference are broken. I've reported it to Adobe, but it has not been fixed yet. It's not like it's an important resource for developers or anything like that...
Copy link to clipboard
Copied

