I'm brand new to working with Adobe, I've searched the forums and didn't find an answer to my question, so I apologize in advance if people have answered this before. I'm using LifeCycle Designer 7.0.
I figured out how to use FormCalc to calculate and display the current date in a date time field. The problem I have is the button that is used for the pop up calendar is still showing up on the screen (but you can't do anything with it because it's read only).
Here are my settings:
Field
Type - Date/Time Field
Appearance - None
Value
Type - Calculated Read Only
Calculation Script
Binding
Name - DateTimeField1
Binding - Normal
Data Format - Date
Script:
FormCalc
DateTimeField1.rawValue = num2date(date(), DateFmt(1));
Thank you so much in advance for your help.
Holly
If this is true, then use a text field, don't use the Date Field. The Date/Time field is meant to be an interactive input. You're just displaying the date so it's unnecessary. You can do the same formatting with a text field.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script