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

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 !

 

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-right/td-p/9858832

TOPICS
Acrobat SDK and JavaScript, General troubleshooting, How to, PDF forms

Views

278

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

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

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 !

 

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-right/td-p/9858832

TOPICS
Acrobat SDK and JavaScript, General troubleshooting, How to, PDF forms

Views

279

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

Copy link to clipboard

Copied

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...

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
Reply
Loading...
Oct 19, 2019 0