Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Uppercase with formcalc in LiveCycle (example to share...)

Avatar

Former Community Member
Hi everybody,



Information to share...



Using formcalc to perform uppercase using the "upper function"



In the script editor window (crtl+shift+f5) an in the exit event write in :



this.rawValue = upper(FieldName)

or

FieldName = upper(FieldName)

works fine too...

where FieldName is the name you gived to your field in the form.



Regard Mike.
3 Replies

Avatar

Level 7
You have to select the field and then enter the code in the Designer Script window for that field under the "Calculation" script. This window is dispalyed under the menu bar and above the form.

Avatar

Former Community Member
Hi,



Not in the "calculation" but in the "exit" event script.

The upper function is made ones you exit the field.



Regards