I want to have the current date and time entered into a field when the form user clicks a custom e-mail button so I know when the form was e-mailed. Is there a scipt that I can add to the click event of the custom button, that will enter the current time and date when the button is clicked?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
this can be done with FormCalc.
Concat(Num2Date(date(), "EEE D/M/YYYY "), Num2Time(time(), "H:MM A"))
There are a couple of manuals for Designer available.
You should use the Scripting Basics and Reference and also the FormCalc User Reference.
http://help.adobe.com/en_US/livecycle/10.0/documentation.html#task=4&module=2
Views
Replies
Total Likes
There a several ways to get the current date&time.
One would be xfa.host.currentDateTime() which returns a date time string int the ISO 8601-Format JJJJMMTTHHMMSS.
Views
Replies
Total Likes
Thanks for your reply radzmar. Is there one that would display the day first like,
Tues 2/19/2013 2:21PM
Is there a reference manual for these?
Thanks again!
-Don
Views
Replies
Total Likes
Hi,
this can be done with FormCalc.
Concat(Num2Date(date(), "EEE D/M/YYYY "), Num2Time(time(), "H:MM A"))
There are a couple of manuals for Designer available.
You should use the Scripting Basics and Reference and also the FormCalc User Reference.
http://help.adobe.com/en_US/livecycle/10.0/documentation.html#task=4&module=2
Views
Replies
Total Likes
That's perfect! Thanks for your help!
-Don
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies