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

Setting for Adobe Reader Control Font

Kimbly
Registered: Apr 16 2008
Posts: 79

Is there any way to set the form I am making using Adobe Acrobat so Adobe Readers can control the font size (or even color) when filling out the form? I also have Livecycle if there is a way to do that in there.

Does anyone know of a help page or tutor that shows what I can set for adobe readers?

Thank you
Kimberly

My Product Information:
Acrobat Pro 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can do this in both regular Acrobat Forms (AcroForms) and LiveCycle forms using JavaScript.

Download the References and look up the field properties that set the font size and color.

For AcroForms:
http://www.adobe.com/devnet/acrobat/javascript.php

For LiveCycle:
http://kb.adobe.com/selfservice/viewContent.do?externalId=330467&sliceId=1

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

Kimbly
Registered: Apr 16 2008
Posts: 79
thomp wrote:
You can do this in both regular Acrobat Forms (AcroForms) and LiveCycle forms using JavaScript.Download the References and look up the field properties that set the font size and color.

For AcroForms:
http://www.adobe.com/devnet/acrobat/javascript.php

For LiveCycle:
http://kb.adobe.com/selfservice/viewContent.do?externalId=330467&sliceId=1
Thanks, I will review this but it looks like what I read so far this has to do with coding and I do not understand javascript and XML coding, only html and a includes php. I had hoped there was some simple setting I was missing.

Thank you
Kimberly
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Unfortunatley, controling field properties at runtime can only be done through scripting:( However, it's not too difficult. Here's some code you could put in a button on an AcroForm to increase the font size on a field named "MyText".

this.getField("MyText").textSize++;

You can see all the properties for the field object in the Acrobat JavaScript Reference. I'm sure that one you take a look you'll get some ideas.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

Kimbly
Registered: Apr 16 2008
Posts: 79
thomp wrote:
Unfortunatley, controling field properties at runtime can only be done through scripting:( However, it's not too difficult. Here's some code you could put in a button on an AcroForm to increase the font size on a field named "MyText".this.getField("MyText").textSize++;

You can see all the properties for the field object in the Acrobat JavaScript Reference. I'm sure that one you take a look you'll get some ideas.
I am putting this one my "learn some day" list. For now I need to slow down and learn the basic stuff.

Thanks
Kimberly