I am receiving an error of Error: Accessor 'add' is unknow.
Any help is much appreciated.
Justin
Solved! Go to Solution.
Views
Replies
Total Likes
Umm,
I think you did overlooked that this example is an XPath method for LiveCycle Workbench ES2 which has nothing to do with calculation scripts in LiveCycle Designer.
Views
Replies
Total Likes
Hi,
please provide the script you use.
Views
Replies
Total Likes
form1.page2.invoiceTable.row1.boosterDate1.rawValue = add-days-to-date(form1.page2.page2Date,4)
The form1.page2.page2Date is copying a cell that has:
$.rawValue = num2date(Date(), "MM/DD/YYYY")
I'm not sure where I'm going wrong here. I've also tried using javascript and can't get that to work either. I am trying to take a date and add days to it dynamically. So user selects "weeks" from a dropdown and "years" from a dropdown and from that point I want to add that amount of days to today's date. I can get the math to work but for the life of me I can't figure out how to make the Date() function work to add some days to it.
Justin
Views
Replies
Total Likes
What does this part in your script mean? Is this a function you try to invoke? Makes no sense to me and it's the reason you script fails.
add-days-to-date(form1.page2.page2Date,4)
Views
Replies
Total Likes
I took that from http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000768.html
Is this something that is depricated?
Views
Replies
Total Likes
Umm,
I think you did overlooked that this example is an XPath method for LiveCycle Workbench ES2 which has nothing to do with calculation scripts in LiveCycle Designer.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies