Skip to main content
peterd61628759
Participant
Sep 15, 2016 4:21 PM UTC
Question

How do I make a custom date format to be "MMM DD YYYY" in uppercase?

I tried doing custom format, but it only allows lower case.  I would like "Sep 21 2016" to read "SEP 21 2016".  At the same time, I am looking to validate it so that this is the only acceptable data in this field.  I am still quite new to Adobe pro, but I know where to put the javascript for formatting, validation, and keystroke.  I have done a lot of searches but I can't seem to find the solution that takes a date and makes it uppercase while still validating the actual date.  In a perfect world, I am also hoping that before a user types anything in, I would like to have the format of the date box be visible until they start typing, but in a gray font.  "MMM DD YYYY".  Is this possible?  Any help is greatly appreciated.

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Inspiring
Sep 15, 2016 6:16 PM UTC

You have to use the "Format" tab with the "None" option and then select the "Custom" option and the custom JavaScript to format the date object and then convert that string to upper case.

Translate
peterd61628759
Participant
Sep 15, 2016 7:20 PM UTC

Do you know what the javascript would be to do that for the value of a field call "DateBox"?

Translate