Skip to main content
Participant
February 23, 2017
Question

date time stamp when a user fills in field on a form

  • February 23, 2017
  • 1 reply
  • 210 views

Is there a way to capture the date in which a user fills in the first field on a adobe form?

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
February 23, 2017

This is quite tricky to implement without having to embed a code that does it in all the fields in the file. The closest I got to it is by using this code as the custom calculation script of the field where you want this date to appear. You can set the field as read-only and then you'll have to reset the form in order to clear it.

if (event.source && event.target.value=="") {

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

}