Expand my Community achievements bar.

UTIL is undefined

Avatar

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