Skip to main content
gregoryd35711860
Participant
September 30, 2016
Question

Creating a field that automatically changes to uppercase

  • September 30, 2016
  • 2 replies
  • 381 views

Hi, first things first. Assume I know nothing! I have never written code and never used Javascript. I am using Acrobat Pro DC on Windows. I have created a requisition form. In that form I have a field where people will enter two letters. I want those letters to be converted to UPPER CASE if they have been entered in lower case. In the field properties window, I tried to create a custom keystroke script. I clicked on the custom keystroke script editor and inserted event.change = event.change.toUpperCase() which I found in a forum. Then it prompts me to "Go To" and opens another window "Go To Line" where I am to insert something. This is where I am stuck. It seems like such a simple task I am trying to perform and yet....3 hours later...no results. I would really appreciate anyone's help.

This topic has been closed for replies.

2 replies

try67
Community Expert
Community Expert
September 30, 2016

Are you not seeing this window?

gregoryd35711860
Participant
September 30, 2016

Ok, so problem solved. The image you shared with me was what I was seeing, but you had made the window larger...duh on my part. The default window size from Adobe, did not show the OK button and therefore I did not see it as an option.

I inserted the script that I had found online and now it works perfectly. Thanks for your help.