Hello Everyone ,
I have create a pdf file using adobe livecycle .
I add a below code .
var today = new Date();
this.rawValue = parseInt(today.getMonth()+1)+"/"+today.getDate()+"/"+today.getFullYear();
When i run a pdf file in adobe livecycle ,current date is filled in textfield using above code .
But , when i save this file and open in adobe reader or adobe acrobat pro , then above code is not working (not giving error).
Please check review problem and give a solution .
Thanks in advance ,
Ronak Patel
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
This seems to work just fine for me. What version of LC, Reader, and Acrobat are you using?
LC ES3, Preview
Reader XI, Acrobat X
Views
Replies
Total Likes
Hello Sir ,
I am using Adobe liveCycle ES2 and Adobe Reader 11.0 .
Above code is work , but if i am pass Datefield value to date object like below code then it give correct date into adobe live cycle but when i used in adobe reader then it give me invalid date .
I am attached two document , plea
My Code for below output : -
var ch=new Date(xfa.resolveNode("form1.page1.DateTimeField1").rawValue);
app.alert(ch);
se find and replay me .
Thanks and regards ,
Ronak Patel
Views
Replies
Total Likes
Try formattedValue instead of rawValue.
rawValue
formattedValue
Views
Replies
Total Likes
Thanks you very much Sir .
Views
Replies
Total Likes
It's working completely .
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies