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

How to right justify characters entered by drop-down list.

Guest
Sep 23, 2019 Sep 23, 2019

Copy link to clipboard

Copied

It is as the title.

I'm looking for a way to right justify characters typed in a drop-down list.

 

The drop-down list properties do not have a place to change the alignment like the text box properties.

If I use it, all characters will be left aligned.

 

I tried to enter the following into the formatting box, but it didn't change.

I'm not sure how to write at here.

 

style.textAlign = 'right'

 

I am Japanese and I am not good at English.

I'm looking for a huge page of "js_api_reference.pdf" with more than 700 pages, but I don't know where to look.

 

Please tell me the information I should get.

Thank you !

 

TOPICS
Acrobat SDK and JavaScript

Views

1.8K

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 , Oct 19, 2019 Oct 19, 2019

Hi,

 

You cannot do that with a dropdown menu.

 

There may be a few people out there that will know how to mess around with that, but in a very limited way.

 

You are better off hitting the space bar and aligning the text manually.

 

You can, however, change the pulldown arrow button; it should appear left or right as an pulldown option for the users of the form...

 

You can change this in the field properties options which will give the dropdown field the appearance that the text is justified to the righ

...

Votes

Translate

Translate
Community Expert ,
Oct 19, 2019 Oct 19, 2019

Copy link to clipboard

Copied

LATEST

Hi,

 

You cannot do that with a dropdown menu.

 

There may be a few people out there that will know how to mess around with that, but in a very limited way.

 

You are better off hitting the space bar and aligning the text manually.

 

You can, however, change the pulldown arrow button; it should appear left or right as an pulldown option for the users of the form...

 

You can change this in the field properties options which will give the dropdown field the appearance that the text is justified to the right margin.

 

You should also consider that if you have a dropdown menu with export values in it and  that are needed in the calculation scripting of other fields in that form it will not work when you type in your own items

 

That will require additional and more advanced scripting to work around it.

 

 

See brief explanation here:

https://community.adobe.com/t5/Acrobat/How-to-align-the-text-of-a-drop-down-menu-box-centered-or-rig...

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