This discussion is archived
1 Reply Latest reply: Jun 24, 2013 9:19 AM by kingjames RSS

convert lowercase to uppercase while typing

kingjames Newbie
Currently Being Moderated

Hi,  I want to convert lowercase letters the user types in a textfield to uppercase on keyrelease.


Right now, i am able to do it by adding the following  code on for the textfiled.


onKeyUp="this.value = this.value.toUpperCase()"


Since, there are many textfields on my page it is pain to add on all the fileds one by one.


Is there a way that I can do it once and it applies for the entire page?




  • Correct Answers - 10 points
  • Helpful Answers - 5 points