These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

invalid characters in date field - need advise to resolve

KarenP
Registered: Aug 16 2007
Posts: 7

We have a text field on all of our forms which we prefill with the following javascript in order to capture/record the date and time in which the submit button was pressed. This is working great except in the case of our Korean end users. We are getting strange characters in the data which is causing problems with subsequent code working on the exported form data which is expecting a valid date.

forms are created in teleforms. exported to pdf. scripted in adobe 5.0. posted on the web and filled out via the web by our end users with adobe reader version 5.0 and above.

script to prefill is:
var d = new Date();
this.getField("b12c96nfgroupstudyid").value =
util.printd("dd-mmm-yyyy",d).toUpperCase() + util.printd(" HH:MM:ss",d);

I am not sure where printd retreives the date from. Is it the workstation or our server. Is there a way to force the date to be from our server versus the client workstation? Would this be the answer to this issue?

thank you,
Karen

gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
See your other post about the same item

George Kaiser