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

Numeric fields Comb problem

SyedSalmanAkbar
Registered: Aug 12 2008
Posts: 2

I have numeric fields on my form what i want to do is to restric their length to 9. that means that max value that can be loaded in them is 999999999. if i use "comb" ir displays like 9|9|9|9|9|9|9|9|9 . but i do not want to have the comb border displayed i want it to display it like 999999999. Also is it possible to specify max and min value for the numeric field

My Product Information:
LiveCycle Designer, Windows
aerokhin
Registered: Jun 27 2008
Posts: 39
Hi,

There is a couple of ways. You can use "limit length to visible area" and adjust width of a numeric field. You can also use comb field but choose a custom appearance and set edges color to white or their thickness to zero. Also it is possible to set validation pattern to '99999999z' - that would cause a validation error for all numbers longer than 9 digits but from 1 to 9 would be ok.

I know no way to specify max and min other then to set a script for validate event. You may use javascript like this:
(this.rawValue<=your_max_value)&&(this.rawValue>=your_min_value));Hope that helps.
Regards,
Andrey.