• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Change text to uppercase in a PDF Form

Guest
Feb 21, 2012 Feb 21, 2012

Copy link to clipboard

Copied

Hi,

Im very inexperienced in Adobe and have recently begun creating some forms for users to fill in.

I need to know how I can make the field automatically change what ever has been written in a text box to uppercase, and also if its possible just to change the first letter to upper case.

any help is greatly appreciated.

Thanks

TOPICS
Create PDFs , Edit and convert PDFs

Views

78.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Feb 21, 2012 Feb 21, 2012

Copy link to clipboard

Copied

You can use the custom format script, like this:

To convert the inserted value to all upper-case:

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

To convert just the first letter to upper-case:

event.value = event.value.substring(0,1).toUpperCase() + event.value.substring(1);

View solution in original post

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 12, 2019 Sep 12, 2019

Copy link to clipboard

Copied

Please help! The forum is acting buggy so please excuse if this is a duplicate. I'm trying to export data from a pdf form to a .csv, and keep the case (all caps). I'm using the following JS: 

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

When the data is exported it displays in the .csv file in the case that was orginaly entered into the form. Is there a way to export the data and keep the case format?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines