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

Script for changing lowercase to upper case for each word

New Here ,
Oct 18, 2019 Oct 18, 2019

Hello Adobe Community 🙂

I seek your assistance with getting a script that changes change first character for each word from lowercase to upper case

 

I located the following script, but it only changes the first character from lowercase to upper case.

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

 

This is all new to me so I am just learning...

435
Translate
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
Community Expert ,
Oct 18, 2019 Oct 18, 2019
LATEST

Hi

 

You should read this: https://acrobatusers.com/forum/javascript/capitalize-first-letter-word-not-working/


Acrobate du PDF, InDesigner et Photoshopographe
Translate
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