PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
__________________________________________________________________

I'm a beginner with using javascript in forms.  I'd appreciate help with the
following problem:

I have a date field where the user will type in a date value.  I want to use
a custom calculation script where no matter what the user types in for the
date, it will reformat it to mm/dd/yyyy.  For example, if the user types
"03/29/04" or "March 29, 2004", I want the value to change to "03/29/2004"
automatically.    

I don't want to use the format field category because when the user doesn't
type the date with this format, an invalid date/time warning pops up that
says to make sure the date/time exists and that the format should match the
format mm/dd/yyyy.   I'd rather write my own warning in the custom
calculation script if the user types in anything other than a date.  

Thanks.   

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html

Reply via email to