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

How to alter text alignment for interactive text fields?

New Here ,
Aug 10, 2017 Aug 10, 2017

I have been trying to make an interactive form in inDesign with reasonable success, but there is one feature that I need to make the whole thing work; the capability to centre the text in the text field box that I have drawn. The Buttons and Forms tab gives me the option to change text size, but that seems to be the only option available in terms of text formatting.

Knowing how to do other features such as making inputted text bold or underlined would also be helpful.

I have looked around on tutorials but none seem to address my specific issue as far as I'm aware. If anyone is able to help it would be greatly appreciated.

35.1K
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

correct answers 2 Correct answers

Mentor , Aug 10, 2017 Aug 10, 2017

Can’t be done natively in InDesign. Try in Acrobat. Tools > Forms > Edit. Double click on the text field to get Properties. Change its Alignment in Options tab.

Translate
Community Expert , Nov 12, 2025 Nov 12, 2025

View > Tools > Organize Pages. You'll see thumbnails of your pages.

From the menu at the top, select Replace, navigate to the new PDF and a Replace Pages pop up will allow you to choose the pages to replace and which pages to replace them with.

Translate
Community Expert ,
Nov 07, 2024 Nov 07, 2024

Would make much more sense to have that basic option in InDesign.

 

You're not wrong

 

If you know any Javascript, it's probably the fastest way to handle large amounts of form field adjustments. For instance, something like this loops through all of the form fields in the PDF and sets alignment to center on all text fields:

for (var i = 0; i < numFields; i++) { 
   var fName = getNthFieldName(i); 
   var f = getField(fName); 
   if (f.type === "text") { 
      f.alignment ="center"; 
   } 
}

 

 Yes, I agree that improved form field handling tools would be useful in InDesign, but there are so many other ways in which form field handling in InDesign is woefully incomplete that it might appear somewhere in the twenties of my personal "ranked list of feature requests for form fields in InDesign that I haven't yet bothered to file."

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
New Here ,
Nov 07, 2024 Nov 07, 2024

It does seem to center itself a little better by default if you choose Multiline, but that's all the control I was ever able to exert over this. TBH I switched to Affinity a while back but that has its own limitations.

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
New Here ,
Feb 06, 2024 Feb 06, 2024

Awesome, thank sooooo much for this!

 

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
New Here ,
Apr 04, 2024 Apr 04, 2024

Thank you!!! I've been trying to work this out for hours. Not exactly intuitive but once you know you know.

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
New Here ,
Dec 13, 2024 Dec 13, 2024

I actually just struggled with this. When you are in InDesign, select the text box, and then you will be able to click the font alignment tools. Just click whichever alignment you want, and once you export and open in Adobe it works perfectly! I just did it a few minutes ago!

 

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
New Here ,
Jan 17, 2025 Jan 17, 2025

tawnie5FEC - This does not work 

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