Tuesday, May 21, 2013

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

Related Posts Plugin for WordPress, Blogger...