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

Date Format Problem

fung0903
Registered: Jul 15 2009
Posts: 6

if someone type "010101" into a text field, how to automatically change it to 01/01/01?
thank you, i am new to acrobat.

My Product Information:
Acrobat Pro 9.1.1, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Have you set the format for the field?

George Kaiser

olivera
Registered: Jul 16 2009
Posts: 26
You can handle it better in the server-side page instead on the client form.
fung0903
Registered: Jul 15 2009
Posts: 6
i did set the format into mm/dd/yy,
but it only shows a warning instead of changing the format automatically.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
What is the exact error that you are getting?

Are you using LiveCycle Designer (one of 2 programs within Windows Acrobat Professional that can create forms)?

If so that creates a different type of form than Acrobat's Form Tool.

George Kaiser

fung0903
Registered: Jul 15 2009
Posts: 6
I want to type in some numbers, 010101, for example, and it will be changed into a date format automatically, (010101->01/01/01).
If i set the format as mm/dd/yy, when i type in some numbers, it only shows a warning saying that the format should be mm/dd/yy, instead of changing the format of the numbers.
thanks you for helping me anyway.
im not using livecycle designer.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
The edit characters are important to separate month day and year fields when users do not enter the full 6 numbers. The use can use spaces, "-", ".", or "/" as a separator. You could try to write a custom keystroke, format, and validation routines to allow for this.

George Kaiser