Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Upper Case JavaScript for Designer


Level 2
Can anyone give me the javascript for LiveCycle Designer so my text field, once entered and tabbed to the next field, will change to Upper Case and where should the action be placed.

2 Replies


Level 7
In FormCalc there is the "Upper()" function and JavaScript has the "toUpperCase()" method.


Level 1

the easiest way to display the test in all upper case would be make it default within the Object layout. The scripting would be required if you need it based on a condition.


1 - select the text field.

2 - click Object Palettes --> Select Value tab.

3- Click validate Pattern button  - select display tab.

4 - Select Pattern field and enter  "text{AAAAAAAA}"

the text will be displayed in caps as soon  as you enter it within the text field.

Please note I have restricted text field to max 8 chars,