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

Numeric field patern

patra
Registered: Oct 19 2006
Posts: 270

I am a little confuse with all these numeric paterns...
Is it posible into a numeric field user to enter only 3 digits without using the combo future and also how to validate in case user enter less or more than 3 digits?

Thanks

My Product Information:
LiveCycle Designer, Windows
cyprd
Registered: Oct 21 2008
Posts: 49
if ($.rawValue>0) then
if ($.rawValue<1000)then
1;
else
if($<>null) then
0;
$host.messageBox("enter number 1..999");
$.rawValue="";
$host.setFocus("NumericField1")
endif
endif
else
if($<>null) then
0;
$host.messageBox("enter number 1..999");
$.rawValue="";
$host.setFocus("NumericField1")
endif
endif

hope this helps if still needed. It is validate event on that field

Adobe LiveCycle ES 8.2.1 (JBoss & Win)