These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Change text color in the form text preferences

infograph
Registered: Feb 2 2010
Posts: 10

I need to change the color of the text to be a specific spot color for printing purposes. Is this possible?

My Product Information:
Acrobat Pro 8.1.7, Macintosh
mmazal
Registered: Jul 20 2009
Posts: 27
not sure if this is useful

if you can get the RGB value of your spot color then you can try

var r = 0;
var g = 23;
var b = 111;

getField("Text1").textColor = ["RGB",r,g,b];
infograph
Registered: Feb 2 2010
Posts: 10
Not working. The spot colors show up in the ink manager but I cannot access them when assigning color to the form text.
try67
Expert
Registered: Oct 30 2008
Posts: 2398
mmazal's example is incorrect. The RGB parameters of the color object should have values between 0 and 1, not 0 and 255 like in most other places, so you will have to convert the RGB values you're used to to this new scale.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

infograph
Registered: Feb 2 2010
Posts: 10
Sorry, I don't you all are understanding what I need to do.
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Then you need to explain yourself better.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

infograph
Registered: Feb 2 2010
Posts: 10
I am a graphic designer so you need to speak in laymen's terms with me. I don't understand all the underlying code stuff. I have created a print-ready PDF document with form fields. The printer that I work with wanted a way for the client to fill in their data and see on screen instantly how it would look and this would serve as their proof, it would then go straight to the plant for printing. I have the form fields set to the exact point size and font needed. The document has 4 spot colors but I cannot assign any of the spot colors to the data in the form. I can only access the general web color pallet and not my built-in spot color pallet (which shows up under Ink Manager). Everything works perfectly except this color issue. The text in the form needs to be a particular spot color so that the colors separate properly for the press.
try67
Expert
Registered: Oct 30 2008
Posts: 2398
I don't think you can assign spot colors to the text of a form field in Acrobat. You can use the pallete, or a script, to assign an RGB or CMYK color. If you want spot colors you need to use them in the appliction where you created the file (like InDesign or FrameMaker) before converting the file to PDF.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

infograph
Registered: Feb 2 2010
Posts: 10
The original file was created in Illustrator, but I can't make the interactive forms there. Any other suggestions?
qazimansoorsalim
Registered: Oct 12 2011
Posts: 1
So, was there any more progress in this area? Does Acrobat Pro X solves this problem?
try67
Expert
Registered: Oct 30 2008
Posts: 2398
You still can't use spot colors, but you can (and could) define the color you want to use using the Color object.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com