I am using Adobe LiveCycle Designer to create an interactive PDF timecard. I am currently using date drop down calendars to separately select Monday, Tuesday..... Is there a way to have the Tuesday through Sunday to automatically calculate one Monday is selected?
Thanks in advance,
Mike
The first thing you need to do is learn about using dates in calculations. Read the first couple of parts in this series of articles:
[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]
Here's an example calculator. This is an AcroForm, but the date calculations are exactly the same for a LC Form.
[url=http://www.windjack.com/PDFSamples/WorkingDaysCalculator.pdf]http://www.windjack.com/PDFSamples/WorkingDaysCalculator.pdf[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script