Quitter
  • Communauté internationale
    • Langue:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티

Change text to uppercase in a PDF Form

Invité
Feb 21, 2012 Feb 21, 2012

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

SUJETS
Création de PDF , Modification et conversion de PDF
83.8K
Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines
1 SOLUTION APPROUVÉE
Community Expert ,
Feb 21, 2012 Feb 21, 2012

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);

Voir la solution dans l'envoi d'origine

Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines
Nouveau ici ,
Sep 12, 2019 Sep 12, 2019

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?

Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines