• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

219

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
Community Expert ,
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

Votes

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