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

Percentage in Text Field Properties Format

mrsneely77
Registered: Sep 3 2008
Posts: 24

I am having difficuties with the Percentage in the Text Field Properties, tab Format. I select Percentage and then I want two decimal places. When I test the field, if I enter 5 for 5% I get 500% instead. Why does it not either say 5% or .05? Can someone help me with this? I am becoming very frustrated. Oh, I am working in Adobe Acrobat 9 Pro.

I am a Forms and Records Analyst for the Washington State Department of Retirement Systems. This position in new to the agency so I am setting the standards.

My Product Information:
Acrobat Pro 9.1, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Since this field could be used in a calculation, Adobe chose to keep the value as a decimal value and make the display image appear as a percentage with the percent sign and appropriate decimal point adjustment.

If you want, you can create a text field and write all the necessary code to validate the user input for the field, and for any field that uses this field for a calculation you will have to provide the function to convert the string value to a number and adjust the decimal point.

George Kaiser

mrsneely77
Registered: Sep 3 2008
Posts: 24
This field is being used in a calucation.

34 (How many hours of unused sick leave did employee cash-out at time of retirement?)
x 54.50% (What percentage was employee paid for sick leave at time of retirement?)
x 27.34 (Hourly rate employee was paid for sick leave cash-out?)
--------------
$506.61 (Total value of paid sick leave at retirement)

I have my calucation in the "Total value of paid sick leave at retirement" text field under the "calculate" tab in the Text Field Properties. With Acrobat 9 Pro, they make it so much easier to do the calcualtions. So I guess what I need to know is what the necessary code should be and what tab does it go under in the Text Field Properties. I only know how to do really basic things when it comes to codes.

I am a Forms and Records Analyst for the Washington State Department of Retirement Systems. This position in new to the agency so I am setting the standards.