Skip to main content
Participant
Nov 11, 2020 11:15 AM UTC
Question

How to Set global properties for text field, checkbox and radio button. ?

Acrobat DC.

I want to set the text field properties as 

  1. Font size - 9, font colour - dark blue, font Helvetica, height - 0.17 Inch.

For radio button field; fontsize- Auto, text color - dark blue, Border Color - black, Fill color - White, Line style- solid, line thickness-thin, width and height - 0.14, checkbox style - cross.

Same property for check box also.

 

 

If possible,  I have to run a script on each form I create. Can anybody help.

 

Thank you.

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Nesa Nurani
Community Expert
Community Expert
Nov 11, 2020 11:25 AM UTC

When you set up your field right click on it (while still in prep form) and select "use current properties as new defaults".

Translate
Participant
Nov 11, 2020 12:46 PM UTC

Thank you. 

I already have some set of checkbox and radio button , is there any way to use javascript to apply my properties.

For text field ,i i know how to use font, font size and color but don't know the code to change the height to 0.17 Inch ... 

 

Translate
Nesa Nurani
Community Expert
Community Expert
Nov 11, 2020 2:48 PM UTC

For font try textSize, e.g. event.target.textSize = 12.24;

There are some tools online that convert adobe points to inches which would be 0.17 inches = 12.24 points but how accurate it is I don't know. Also i think it will round to 12 so how you will use thats up to you.

Translate