Skip to main content
Participant
November 11, 2020
Question

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

  • November 11, 2020
  • 1 reply
  • 937 views

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 has been closed for replies.

1 reply

Nesa Nurani
Community Expert
Community Expert
November 11, 2020

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

Participant
November 11, 2020

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

 

Nesa Nurani
Community Expert
Community Expert
November 11, 2020

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.