Professional Documents
Culture Documents
376 Views 5 Replies Latest reply: Gilad D (try67), Jul 22, 2013 3:37 PM
Replies
1. Gilad D (try67),
Jul 22, 2013 12:41 PM in reply to Bomeist Report
| Mark as:
2. Bomeist,
Jul 22, 2013 2:47 PM in reply to Gilad D (try67) Report
| Mark as:
3. Gilad D (try67),
Jul 22, 2013 2:53 PM in reply to Bomeist Report
OK. First off, there's no "Time" object in JS. Use only Date. So this: ft.value = util.printd("HH MM ss", new Time()); Should be: ft.value = util.printd("HH MM ss", new Date()); After you've done that, if it's still not working, describe what exacly happens, including any messages you see in the JS console.
| Mark as:
4. Bomeist,
Jul 22, 2013 3:32 PM in reply to Gilad D (try67) Report
THANK YOU SO MUCH I HAVE BEEN WORKING ON THIS FOR ABOUT A WEEK!!! UR AWSOME!!!
| Mark as:
5. Gilad D (try67),
Jul 22, 2013 3:37 PM in reply to Bomeist Report
A week? You should really try to learn a bit more core JavaScript if you plan to create more such scripts... Also, make sure you tick on the option in Acrobat to show the console on errors and warnings. You should see there something like this (when running the old code): ReferenceError: Time is not defined This immediately lets you know that something with that line is not correct...
| Mark as:
Jive Software