Skip to main content
ACrosby
Known Participant
June 6, 2012
Answered

Acrobat Form Fill Fields - Can you specify a font?

  • June 6, 2012
  • 11 replies
  • 146086 views

I am using the new feature of InDesign CS6 that allows creation of form fields for PDFs. After exporting the page to PDF via the interactive setup dialog [command+E 'Adobe PDF (interactive)] I'll inspect the finished PDF in Acrobat 9. Everything looks as it should, except that when I type in some sample text in a text field, it uses Times Roman as the font. I would like it to use Arial regular.

I can't find any way to specify a font for these form fields in InDesign CS6. This particular project involves quite a large number of files - so I'd rather avoid a process that requires me to go in to Acrobat and 'tweak' each PDF, changing the font in the properties dialog of each field to the Arial.

Is there a way to set the font of a form field directly in InDesign? I've looked around and can't find a menu or dialog that addresses this.

Thanks in advance for any help.

This topic has been closed for replies.
Correct answer BobLevine

This is major step forward for form creation but it isn't perfect. Some things need to be finished in Acrobat.

Bob

11 replies

MADink_Designs27
Inspiring
June 14, 2021

I know this is an old post and that InDesign now allows you to enter the font for form fields, but there are still use cases in forms created in InDesign that this may be useful for such as forgetting to set it, modifying an older form, or deciding to change the font. This method could change hundreds of fields with a simple script and save you immeasurable time in InDesign by having to manually set each field.

 

This is the AcroForm solution in Acrobat:

First, you need to find out the PDSysFont Name.

 

  1. Create a text field in a PDF document and change the font of the field to  your desired font in the field properties

  2. Open the JS Console (CTRL + J) and execute the script (Select All and hit CTRL + Enter)

    this.getField("Text1").textFont
    Replace "Text1" with your field name

  3. The string returned to the console is the PDSysFont that you'll need below.

 

After you get the font name,  you can then run this script in the console (Remember to select all and CTRL + Enter to run the script). This script assumes you want the font to be Myriad Pro Regular, and it will apply to all text fields in the document. Change MyraidPro-Regular to the PDSysFont you got in the steps above. PDF forms also have other form field types such as combobox. Lookup the Acrobat SDK for more info:

 

for (var i = 0; i < this.numFields; i++) {
	var fname = this.getNthFieldName(i);
	var f = this.getField(fname);
	if(f.type === "text") {
		f.textFont = "MyriadPro-Regular";
	}
}

 

 

New Participant
March 7, 2018

Yes you can.

First click on Form Tools, then click Form Edit, then just right click on a form field, select Properties, second Tab - Appearances.

Here you can designate the font and its size.

I hope that that helps, even though it may be kind of late now in 2018, but if anyone wants to know that is how I do it.
Also note, I use InDesign CS6 to create my PDFs.

Derek Cross
Community Expert
March 7, 2018

Use system fonts.

April 19, 2016

Hi Bobby,

It is possible to change fonts in Acrobat Pro. You can fix multiple fields at a time (I've done as many as 20 at a time) by doing a marquee select around them (make sure Text Field Properties dialog box is open to the Appearance tab before selecting the fields) and changing ONLY the font property.

New Participant
August 5, 2015

In Acrobat Pro DC (2015 release)

Choose "tools"

Choose "prepare form"

Now select the editable fields you want to change the font in (from the Times default)

On the right, choose "more" (there is a tool icon next to it)

Choose "Show field properties"

Choose "Appearance"

Under "Text" set your font and font size

I hope that helps, it took me ages to find.

Inspiring
October 14, 2015

Yes, but this is PITA as you have to to di EVERY TIME. Should be a way to do that in INDD or a way to change the defaults in Acrobat.

Colin Flashman
Community Expert
October 15, 2015

We agree, there should. Sadly, there isn't.

There is a way to make this easier, and that is to make an Action in Adobe Acrobat DC that will run a javascript over the PDF to find each form field and change the formatting to what is desired. Here is what the action should look like:

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
New Participant
July 9, 2015

I hope this helps anyone working with Adobe CC.

> Create your text field in InDesign

> Export as an Interactive PDF

> When in Acrobat, click "Prepare Form"

> Right click on your text field

> Click Properties...

> Adjust font, alignment, color, size etc. here.

TᴀW
Brainiac
July 9, 2015

As this thread has been resurrected :-), I'll take a ride and mention:

http://www.id-extras.com/products/formmagic

... which is by far the easiest way to prepare forms fields in InDesign and assign a font to them that will carry through to Acrobat. The free edition lets you create short forms with all formatting intact.

cBracewell
New Participant
July 25, 2014

I've been searching for a solution and found a fellow who writes custom scripts for Acrobat.

He created a script with a front end that lets you select fields to edit (by name, by type, by page) and allows you to mass edit field properties. Based on the number of forum posts here and elsewhere about this problem, this could be a very valuable tool.

Custom-made Adobe Scripts: Acrobat -- Mass Edit Fields Properties

This text editor keeps changing the URL into a clickable link page title, but in case that doesn't work, here it is without the auto-link feature that keeps overriding my paste.

try67.blogspot.com/2013/06/acrobat-mass-edit-fields-properties.html

Carol

New Participant
February 10, 2014

You can edit the typeface used in your text fields in Adobe Acrobat Pro. Create your form with all the appropriate text fields you would like in InDesign CS6 then:

  • export your form from InDesign CS6 as an interactive PDF
  • open your file in Adobe Acrobat Pro
  • Click "TOOLS" on the right hand side (next to sign and comment)
  • Click "INTERACTIVE OBJECTS"
  • Click "SELECT OBJECT"
  • Then select all or any text fields you would like to change
    • if selected the text field should appear blue, not red, as well as displaying the description (if you assigned one while creating your form in InDesign)
  • Once selected RIGHT CICK (if using a MAC or mouse without a right click button press crtl + click your mouse)
  • a pop-up should appear and the at the top of the list you will see PROPERTIES
  • click properties and go to APPEARANCE
  • under the TEXT section you will see options to alter your text fields designated typeface, color and size

NOTE: I believe if the user filling out the form does not have the typeface you assigned to the text field(s) it will default to New Times Roman

martinbats
New Participant
October 22, 2014

I got the intention, only thing is: There is no "interactive objects" button.

Do I need an update to require this? To check the date you wrote this, probably not, lol.

Please help me.

Community Expert
October 22, 2014

In Acrobat, select "Content" (from your screen capture, 2nd tool down) At the bottom of that tool, there will be "Select Object". Use this tool to Control Click on field >  Properties > Appearance

Zinusmero
New Participant
May 6, 2013

You can kind of get around this by instead of using a form field, add a comment after the PDF has been created. You can specify the font of a comment and any user will be able to click on the comment and edit it. However, they will still require the specified font on their PC.

For example, I have used it where the user needs to specify an email address. The comment i entered simply says "Enter your email", the user edits the comment and their email is shown in the font selected.

The user will still be able to change the font, size etc so it isnt the most secure solution, but its more than is being offered at this time with indesign.

New Participant
February 21, 2013

I know this is an old post, but I've been having the same problem and have worked out how to fix it in Acrobat. Go to Tools > Select object and click on the text field you want to alter. Right click and go to Properties > Appearance. You can change font attributes etc. from there.

MoD_Andy
Participating Frequently
February 21, 2013

Hi Nicole,

Yep think that only does it at user level though, it won't embed the selected font in the saved PDF so if you send it to another user to fill in, they'll still see the rubbish fonts.

Shame cause it makes forms look damn ugly when filled in....and I don't like ugly forms.

Brainiac
February 21, 2013

I have been looking at the SDK and it seems that the font being used for the form field is the default font found by the font manager. I have no idea how the font manager decides what the default font is. If you can work that one out you can probably change it to your choice.

MoD_Andy
Participating Frequently
December 4, 2012

Bah I was just wondering the same. Damn shame Adobe stopped short of Font selection for form fields, even just web fonts would be good, Times is just so ugly.