Change dates in other fields based on date in primary field.

New Here ,
Jun 03, 2019 Jun 03, 2019

Copy link to clipboard

Copied

I have a fillable PDF that has multiple date fields. There is a main date field and all the rest follow in sequential order i.e. the main date is June 1st 2019 and then the other fields would go June 2nd 2019, June 3rd 2019, and so on. How do I get them to auto-populate based on the primary date?

TOPICS
Acrobat SDK and JavaScript, Windows

Views

73

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jun 05, 2019 Jun 05, 2019

Copy link to clipboard

Copied

LATEST

This question comes up a lot. Here's a forum search that links to several nearly identical questions.

https://forums.adobe.com/search.jspa?q=fill+date

You'll note that many of these link to some AcrobatUser.com Articles on scripting Date and Time values.

You'll also find information here:

Date and Time Handling - Information and Scripts(Script pages at bottom)

And if you're a member there is an example (timesheet) form with exactly the feature you've requested.

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines