Help - Changing Font style in acrobat reader for fillable fields

New Here ,
Dec 14, 2020

Copy link to clipboard

Copied

Hello,

 

I new to acrobat reader. I started creating forms with fillable fields. The only issue I have now is that I don't like the font style of the fillable fields. I know that I can go to each field and go to the properties and change the font style and size. But the forms has over 600 fillable fields. Is there a way I can do it for all at once ? Thanks

TOPICS
PDF forms

Views

58

Likes

Translate

Translate

Report

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

1 Correct Answer

Adobe Community Professional , Dec 15, 2020
JR Boulay Adobe Community Professional , Dec 15, 2020
Yes you can, but not via the Acrobat Reader interface, you must use Javascript  :   1. Download and install the "JS Console" tool which is part of the free abracadabraTools for Reader: https://www.abracadabrapdf.net/utilitaires/utilities-in-english/abracadabratools_en/   2. Display the Console, copy-paste this script, select all lines, then hit the Enter key (not Return).   for (var i = 0; i < this.numFields; i++) {var oFld = this.getField(this.getNthFieldName(i));if (oFld.type == "text"){oFld.t...

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional ,
Dec 15, 2020

Copy link to clipboard

Copied

Not possible with Acrobat Reader. You need Adobe Acrobat for this.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
Dec 15, 2020

Copy link to clipboard

Copied

Hmm, you can't create forms in Acrobat Reader at all...

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Dec 15, 2020

Copy link to clipboard

Copied

Yes you can, but not via the Acrobat Reader interface, you must use Javascript  :

 

1. Download and install the "JS Console" tool which is part of the free abracadabraTools for Reader:

https://www.abracadabrapdf.net/utilitaires/utilities-in-english/abracadabratools_en/

 

2. Display the Console, copy-paste this script, select all lines, then hit the Enter key (not Return).

 

for (var i = 0; i < this.numFields; i++) {
var oFld = this.getField(this.getNthFieldName(i));
if (oFld.type == "text"){
oFld.textFont = font.Helv;
}
}

 

See available fonts here:

https://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/Acro12_MasterBook/JS_API_AcroJS/Fi...

Likes

Translate

Translate

Report

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