Skip to main content
Participating Frequently
February 9, 2016
Answered

Auto Date and Time

  • February 9, 2016
  • 1 reply
  • 2343 views

Hello experts,

I am trying to create a web form and the idea is whenever someone fills the form and submits it the time of the submission should be recorded and should be received automatically, I tried with almost all the tutorials available online...! very unfortunately I am not getting what I want..! I am not good at Java script or any other coding still spent plenty of time to figure this out and failed...! Truly will be very much grateful if some expert could help me out..! Thank you very much

This topic has been closed for replies.
Correct answer try67

Hello sorry by the way I am getting this warning message pls have a look and I singed up a dropbox ac and the file is inside for your kind perusal

https://www.dropbox.com/s/10m9gwjdhj8el8w/form.pdf?dl=0


Sorry, it was a mistake in the code I provided above. It needs to be:

this.getField("SubmitDate").value = util.printd("mm/dd/yyyy HH:MM", new Date());

The message you see was added by a third-party script you applied to the file. You can remove it via Document JavaScripts.

1 reply

try67
Community Expert
February 9, 2016

Is this a PDF form?

Participating Frequently
February 9, 2016

Hello yes it's a PDF form, as I believe once the form is being filled and submitted we could print the filled form for our records and we would also would know at what time the form has been submitted..! In other types of forms we would only get the data in an email..right?

try67
Community Expert
February 9, 2016

OK. Do you want the date and time to be recorded in a field?