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

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

Engaged ,
May 05, 2021 May 05, 2021

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
1.6K
Translate
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
1 ACCEPTED SOLUTION
Community Expert ,
May 06, 2021 May 06, 2021

f.doNotScroll = true;

 

[Just to mark it as answered]

View solution in original post

Translate
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

f.doNotScroll = true;

 

[Just to mark it as answered]

Translate
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

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

 

 

Translate
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

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

Translate
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
LATEST

😉 respectively 😞

 

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

 

2021-05-06_shot_007.pngexpand image

 

Translate
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