Previous | Next | (P-PDF) Beginners
Topic: Re: formatting numbers entered in a form field (Via Email)
Conf: (P-PDF) Beginners, Msg: 80589
From: dug
Date: 1/31/2003 07:21 AM
If you are formatting for display purposes only, try this in your Custom
Format Script (Field Properties>Format>Custom):
var n=event.value;
n=util.printx("99-99999-99",n);
event.value=n;
If you need to work with the formatted value in other code, then you
will need to put this code into a Custom Calculation script.
--doug