Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

UTIL is undefined


Former Community Member
This is a script I used to use in AcroForms to set a field value to the the current date in a certain format:

if (this.rawValue == null)

this.rawValue = util.printd("mmm dd, yyyy",new Date());

I copied it into a Livecycle Form & it seems to be working but in the 'Warnings' I am getting an "Error: util is undefined"

Could someone please tell me what this means / what the solution would be to avoid getting the error?

Thanks in advance!
0 Replies