Trying to center justify a drop down field (Adobe Acrobat Pro 2017)

New Here ,
Sep 11, 2018 Sep 11, 2018

Copy link to clipboard

Copied

I can't seem to alter the justification of the data in the field.  It is automatically left justified.  I have a list of items that I need to have centered and not left justified.

TOPICS
Edit and convert PDFs

Views

791

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

Most Valuable Participant , Sep 11, 2018 Sep 11, 2018
Not possible. You can add spaces (or tabs, using a script) before theitems, though.

Likes

Translate

Translate
Most Valuable Participant ,
Sep 11, 2018 Sep 11, 2018

Copy link to clipboard

Copied

Not possible. You can add spaces (or tabs, using a script) before the

items, though.

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
New Here ,
Sep 11, 2018 Sep 11, 2018

Copy link to clipboard

Copied

Where can you add a script, I tried looking for that as well?

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
Most Valuable Participant ,
Sep 12, 2018 Sep 12, 2018

Copy link to clipboard

Copied

You don't add this script. You need to execute it (from the JS Console, for example) to set the items of the field.

The code would be something like this:

this.getField("Dropdown1").setItems(["\tItem1", "\tItem 1.1", "\t\tItem 1.2", "\tItem 2"]);

The "\t" escape character is a tab. I used it twice to create indentation, but you can use it only once to align the text (somewhat) to the center of the field.

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
New Here ,
Jan 13, 2021 Jan 13, 2021

Copy link to clipboard

Copied

Would I apply this to the format field? 

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 ,
Jan 13, 2021 Jan 13, 2021

Copy link to clipboard

Copied

No. 

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
Community Beginner ,
Mar 22, 2020 Mar 22, 2020

Copy link to clipboard

Copied

post deleted

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
Participant ,
Feb 03, 2021 Feb 03, 2021

Copy link to clipboard

Copied

If I'm undertanding correctly and you are talking about the alignment of text that a user will enter (or has entered) inside a FIELD, you can adjust the alignment in the field's PROPERTIES menu >> in the OPTIONS tab.

 

See attached image.

Mary Helen Shuff | Art Director & Senior Graphic Designer | 508-Compliancy Coordinator | Forms Coordinator | Printing Liaison

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
Most Valuable Participant ,
Feb 03, 2021 Feb 03, 2021

Copy link to clipboard

Copied

This is a text field. The question was about a drop-down field...

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
Participant ,
Feb 03, 2021 Feb 03, 2021

Copy link to clipboard

Copied

LATEST

Ahhhhh. I understand.

Mary Helen Shuff | Art Director & Senior Graphic Designer | 508-Compliancy Coordinator | Forms Coordinator | Printing Liaison

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