Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

Former Community Member
Hi



Where do I place this code?



Thanks

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