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

script for converting entries in field to uppercase

Avatar

Level 4

Hi all,

I wrote the following script to convert the entries in a field to upper case, but it is not working using FormCalc;

  on exit event:

  Upper(fieldtxt4.rawValue);

Thanks

v/r

Tammy;

0 Replies

Avatar

Level 10

You're mixing FormCalc and JavaScript together, try this on the Exit event:

$ = Upper($)

Or, on the Change event you can try the following JavaScript which will change each letter as it is typed:

xfa.event.change = xfa.event.change.toUpperCase();