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
George Kaiser