These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Date Calculations

dm50321
Registered: Sep 25 2007
Posts: 3

Is there a way to put a date in one field and then have additional fields populated with a sequence of dates. Example, July 1, 2007 and then the next 13 fields are populated with July 2, 3, 4... I am a novice and explanation has to be pretty simple, please. I want this be used in a form that can be saved by the users.

My Product Information:
Acrobat Pro 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Read this article

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part1/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part1/[/url]

It explains how to do date calculations with JavaScript. The examples are given using AcroForms, but the calculations themselves will work in any JavaScript environment

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

dm50321
Registered: Sep 25 2007
Posts: 3
Very helpful---should be able to get it done now. Thanks