Monday, September 17, 2012

Set Text Style in input text field


    In ADF application default style of input text is lower case. Whenever user types in input text he has to decide to type in lower case or upper case or first letter capital style. If a developer want to restrict the format of a input text to lower case or upper case or capitalized style then it can be done by changing style.
     As this style property is set, this will give desired format regardless the user's keyboard's caps lock button is on or not.
      To do this go to contentStyle property of input text and set one of the following values:


For Capatalized text
text-transform:capitalize

For Lowercase:
text-transform:lowercase

For UPPERCASE:
text-transform:uppercase

No comments:

Post a Comment