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

Can I do this in Acrobat 8.1?

mitch54
Registered: Jun 1 2010
Posts: 30
Answered

I need to validate a field and have the excess moved to another field. What I have is a field that the user fills in for hours worked. I want anything OVER 7.5 to move to the Overtime field. In other words, if someone enters 9.5, I need the first field to show 7.5 and the overtime field to display 2.0. Can this be done without rewriting half of the code involved??

My Product Information:
Acrobat Pro 8.1, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Probably not, you need code to determine if the value is over 7.5 or not. And if it is then you need to set the value of one field to 7.5 and the other field to the amount over 7.5. Condition execution of code is dependent upon the JavaScript 'if' statement.

George Kaiser

mitch54
Registered: Jun 1 2010
Posts: 30
Good....I didn't want to do it anyway!!!! You, Mr. Kaiser, are my savior!!! I am new to Acrobat and it kind of got dumped on me, so I appreciate any and ALL help you give me!!
try67
Online
Expert
Registered: Oct 30 2008
Posts: 2399
Well, it can be done, but of course it will require a bit of scripting.
It doesn't seem like you want to do it, though...

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

mitch54
Registered: Jun 1 2010
Posts: 30
On a related note, is there any way to disable the information box that comes up when someone enters something in a validated field?
mitch54
Registered: Jun 1 2010
Posts: 30
try67...it's not really that I don't WANT to, it's the fact that I am not good with JS....