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

Uppercase Date Field

tame4tex
Registered: Apr 3 2007
Posts: 2

If I use the Date Format Category on a pdf form text field how do I also display that date in uppercase? I have a date field that needs to be display in the format 'JANUARY 27'.
Thanks!

My Product Information:
Acrobat Pro 7.0.0, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi tame4tex,

To use a different date format than what is included in the pulldown in Acrobat you will need to use JavaScript to format the date field. Have a look at this article on the JavaScript Corner here at AUC- it has an example for changing to Uppercase.

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/formatting_text_fields/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/formatting_text_fields/[/url]

There are also a series of articles on working with time and date in Acrobat that show how to add the code to date/time fields with examples. Here is the link to Part 1. Links to Part 2 and 3 can be found in the first part.

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part1/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part1/[/url]

Hope that helps,

Dimitri
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]