Answered
I searched the LiveCycle forum but to no avail.
I have two calendar fields and both should be editable by the end user, however, the second calendar should take the date specified by the user in the first and subtract 6 business days and display that date.
However, the user should still be able to adjust the second calendar. The calculated value is simply to offer a suggested date.
thanks in advance :)
http://partners.adobe.com/public/developer/xml/topic.php
Get these document and also try searching the forum for "Date Calculations".
Here's an article that explains date calculations using Core JavaScript functions. Which will work just fine in LiveCycle, although the article uses AcroForm examples.
http://www.acrobatusers.com/tech_corners/javascript_corner/tips/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/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script