• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

[SOLVED by myself] form scripting: change "scroll long text"

Engaged ,
May 05, 2021 May 05, 2021

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;

TOPICS
Edit and convert PDFs , How to , JavaScript , PDF forms

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 06, 2021 May 06, 2021

f.doNotScroll = true;

 

[Just to mark it as answered]

Votes

Translate

Translate
Community Expert ,
May 06, 2021 May 06, 2021

Copy link to clipboard

Copied

f.doNotScroll = true;

 

[Just to mark it as answered]

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 06, 2021 May 06, 2021

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:

 

mycc_0-1620287659208.png

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2021 May 06, 2021

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...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 06, 2021 May 06, 2021

Copy link to clipboard

Copied

LATEST

😉 respectively 😞

 

... yesterday I reported this unceremoniously (via Twitter😞

 

2021-05-06_shot_007.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines