An Acrobat Question Regarding Form Fields

One of the things I love about Acrobat 9 is the ease with which you can create forms. Adding form fields is quite easy and makes working with pre-printed court forms a piece of cake.

I was recently working on a form the other day, however, and realized that I wanted to create a field that automatically calculated the information based on the information provided in another field. I know that you can create calculated fields in Acrobat, but I don’t know how to create the calculation script for what I want. I was hoping that some Acrobat expert has a suggestion for me.

What I am looking for is a script that will do the following: Field 1 is a date. For field 2, I would like the field to automatically calculate the date 3 days before the date entered in Field 1.

Is this something that can be done? Does anyone know how to write this script?