Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


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

Contributor ,
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

945

Likes

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

Adobe Community Professional , May 06, 2021 May 06, 2021
f.doNotScroll = true; [Just to mark it as answered]

Likes

Translate

Translate
Adobe Community Professional ,
May 06, 2021 May 06, 2021

Copy link to clipboard

Copied

f.doNotScroll = true;

 

[Just to mark it as answered]

Likes

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
Contributor ,
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

 

 

Likes

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
Adobe Community Professional ,
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...

Likes

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
Contributor ,
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

Likes

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