ReferenceError: Util is not defined  SOLVED

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
kagen.yu
User
Posts: 9
Joined: Tue Oct 05, 2021 4:32 am

ReferenceError: Util is not defined

Post by kagen.yu »

I watch this video and want to build a dynamic stamp.
https://www.youtube.com/watch?v=qOALVMeasKY

But I got this error in console:
Field:Calculate:2: ReferenceError: Util is not defined

What I did wrong?
Willy Van Nuffel
User
Posts: 2384
Joined: Wed Jan 18, 2006 12:10 pm

Re: ReferenceError: Util is not defined  SOLVED

Post by Willy Van Nuffel »

Did you try with the sample code used in the video:

var d = new Date;
event.value = util.printd("yyyy/mm/dd/ HH:MM:ss", d);

In case you have a problem with your own javascript-code, can you show it to us ?

Regards.

Willy
kagen.yu
User
Posts: 9
Joined: Tue Oct 05, 2021 4:32 am

Re: ReferenceError: Util is not defined

Post by kagen.yu »

solved! thank you for reply. My wrong... I should low case "util" instead of "Util". :(
Willy Van Nuffel
User
Posts: 2384
Joined: Wed Jan 18, 2006 12:10 pm

Re: ReferenceError: Util is not defined

Post by Willy Van Nuffel »

Good to know how you solved it.

:-)
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8544
Joined: Wed Jan 03, 2018 6:52 pm

ReferenceError: Util is not defined

Post by TrackerSupp-Daniel »

:)
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply