Adding a DateTime stamp to XML data file on PDF Form


i have pdf form submitting data via email.

i not requiring signature.

along data collected on form, i'd xml data file sent include date/time stamp. roughly, when "submit" button selected.

i have been able current date/time display, on form. however, cannot value displayed on form sent in dataset.

i got work using following steps:

1) create field (textfield1 in data example below) on form data/time (this hidden field, if want). mine set "calculated-read only"

2) populate in calculate script using:
this.rawvalue = xfa.timestamp;

(i have scripted set value in submit button, date & time determined when button clicked, instead of when form opened).

3) make sure set field's binding "normal" instead of "none" - ensures field's value part of submitted xml data file. key step.

when click email submit button, following xml data;
<?xml version="1.0" encoding="utf-8"?>
<form1
><textfield1
>2008-03-03t16:01:59z</textfield1
><textfield2
>some text</textfield2
></form1
>


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments