Skip to main content
Participant
February 26, 2018
Question

Auto populate dates.

  • February 26, 2018
  • 1 reply
  • 784 views

I have a time sheet that I have turned into a form and I would like to make the start date of the week  auto populate the rest of the dates. Is there a way to do this? Thanks for the help.

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
February 26, 2018

Yes, you can, with a script.  This question comes around quite often and I know that solutions have been provided. Here are the results of a quick search on these forums:

https://forums.adobe.com/search.jspa?q=auto%20dates

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
MI PhilAuthor
Participant
February 26, 2018

Thanks for the info. It looks like all of these change the date every time you open it. I need to input the date in a field and then have it populate the rest of the dates from there. Also if i do get this to work will it work on an IOS Device?

Joel Geraci
Community Expert
Community Expert
February 26, 2018

Before you decide on which script to use, verify that any code conforms to what is supported on iOS. You can find that documentation here...

JavaScript for Acrobat Reader Mobile API Reference (iOS)

For example, several of the scripts referenced in that list use the field property "valueAsString" which is no supported on Adobe Reader for iOS.