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

Imported Data not saved in PDF

jpvd
Registered: Dec 16 2011
Posts: 1

Here is my problem:
I have created a form in Designer which contains a date that defaults to the current data but allows user override. They submit, via email, an xml file that contains all of the form data.
 
I open the form using adobe pro x and import the data. I see the date the user entered.
 
Since I want to put the completed pdf into a CRM package attached to the constituent's record, I want to save each submitted form as a unique PDF. On saveing I see the date they entered gets overwritten by my local date and saves with that date.
 
What settings or code do I need to allow the pdf to keep the user-entered date instead of my local date which may be different?
 
I have yet to work with javascript or any code in fields but am willing - just tell me where to put it (boy that's crying for a rude response!)
 
thanks!
 

My Product Information:
LiveCycle Designer, Windows
mmazal
Registered: Jul 20 2009
Posts: 27
I suspect you used the Current Date custom field.

It has code in the layout script that will grab the current date every layout change.

You will need to change it so that it does not change if the field is filled.

something like

if (HasValue($) == 0) then
$.rawValue = num2date(date(), DateFmt(1))
endif

there may be a better way but my FormCalc knowledge is pitiful.