These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to convert the first Characters of a textfield into Uppercase.

aksahoo17
Registered: Sep 20 2010
Posts: 5

Hi,
As i m a beginner, just want to display the name as " Ashish Roy "( as first charcter of each separated word in Uppercase ). Within a text field somebody insert his/her name but on exit a event will fire and change the name as before.
 
What to do can anybody help me....(using Acrobat LiveCycle Designer8).
 

My Product Information:
LiveCycle Designer, Windows
George_Johnson
Online
Expert
Registered: Jul 6 2008
Posts: 1876
See the following for some code: http://acrobatusers.com/forum/javascript/convert-firstname-and-lastnames-first-char-uppercase

But heed the warning I gave there. Indiscriminately capitalizing the first letter of names is not always appropriate. Also, case like "O'Dea" (or o'dea) will be inappropriately "corrected" to "O'dea".