Skip to main content
Participating Frequently
November 22, 2019
Question

AM/PM to Uppercase

  • November 22, 2019
  • 1 reply
  • 1401 views

Hello. I currently have my text box formatted as time, h:MM tt. When I it populates, the am and pm are lower case. I need them to be uppercase.

 

Any help would be greatly appreciated!

This topic has been closed for replies.

1 reply

Joel Geraci
Community Expert
Community Expert
November 22, 2019

Are you formatting the field using the Acrobat UI or though JavaScript? 

Participating Frequently
November 23, 2019
I'm formatting via Java script.
try67
Community Expert
Community Expert
November 23, 2019

Then add this to the end of your code:

event.value = event.value.toUpperCase();