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

calendar -- synchronizing dates

Annie101
Registered: May 26 2009
Posts: 8

I have set up a table with date fields across the top. When I enter a date, is there away to synchronize the dates for the rest of the week in sequence?

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes there is. You can place code in one of the events on the first date field to fill out the values for all the other dates. Since this is for a LiveCycle form the code can be either FormCalc or JavaScript. There are several posts on this forum that cover date handling in FormCalc. You'll find more info in the FormCalc Reference, which has a whole chapter on Date functions. The FormCalc ref is here along with lots of other usefuld documents:
http://kb2.adobe.com/cps/330/330467.php

If you a JavaScript programmer, there is a series of articles on Date Handling:
http://www.acrobatusers.com/tutorials/2006/date_time_part1

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window[/b][/url]

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