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

Adobe Acrobat DC Pro DC - Multi-line text field

New Here ,
Aug 27, 2020 Aug 27, 2020

Copy link to clipboard

Copied

Hi, 

I've converted my word doc to a fillable form in Adober DC Pro. I would like to make all the fillable boxes multi-line. Is there a way not to do this individually (I have 107 pages)? I'm new to 'DC Pro' and am using it to create a workable document for my students to use while training virtually.

 

Thank you in advance for your assistance.

 

Tanya

tgob@caasco.ca

TOPICS
Edit and convert PDFs , PDF forms

Views

490

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 , Aug 27, 2020 Aug 27, 2020

Yes, you can do it by executing this code from the JS Console, or even by attaching it to a button field and then clicking that button (you can delete the button afterwards):

 

for (var i=0; i<this.numFields; i++) {
	var f = this.getField(this.getNthFieldName(i));
	if (f==null) continue;
	if (f.type=="text") f.multiline = true;
}

 

 

Votes

Translate

Translate
Community Expert ,
Aug 27, 2020 Aug 27, 2020

Copy link to clipboard

Copied

Yes, you can do it by executing this code from the JS Console, or even by attaching it to a button field and then clicking that button (you can delete the button afterwards):

 

for (var i=0; i<this.numFields; i++) {
	var f = this.getField(this.getNthFieldName(i));
	if (f==null) continue;
	if (f.type=="text") f.multiline = true;
}

 

 

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
New Here ,
Oct 30, 2020 Oct 30, 2020

Copy link to clipboard

Copied

LATEST

My apologize for the late acknowledgment. Thank you very much for the solution as it worked perfectly!

 

Tanya

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