Skip to main content
gregoryd35711860
Participant
Sep 30, 2016 10:46 AM UTC
Question

Creating a field that automatically changes to uppercase

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

try67
Community Expert
Community Expert
Sep 30, 2016 2:06 PM UTC

Are you not seeing this window?

Translate
gregoryd35711860
Participant
Sep 30, 2016 2:38 PM UTC

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.

Translate