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

New Script Failure after printing Military time...

MarlaZ
Registered: Apr 28 2010
Posts: 112

OK, now I get the following error message:
-------------------------------------------

Script failed (language is formcalc; context is
xfa[0].form[0].form1[0].#pageSet[0].Page1[0].TableELN[0])
script=
$=Concat(Num2Date(date(), "DD_MMM_YYYY"), " ", Num2Time(time(),
"HH:MM"))

Error: Invalid property set operation; subform doesn't have a default property

Script failed (language is formcalc; context is
xfa[0].form[0].form1[0].#pageSet[0].Page1[0].TableELN[0])
script=
$=Concat(Num2Date(date(), "DD_MMM_YYYY"), " ", Num2Time(time(),
"HH:MM"))

Error: Invalid property set operation; subform doesn't have a default property

-----------------------------------------------

Any clues as to what is going on here? Have I done something wrong? I need to fix this so it does not appear when we open the dynamic pdf in either Acrobat OR Reader.

Thank you......

Marla

My Product Information:
LiveCycle Designer, Windows
Niall
Expert
Registered: Apr 26 2006
Posts: 62
Hi,

It seems that you have placed the script in a table (TableELN) and not within an object (eg a dateTime field).

If you move the script to a dateTime field it should work.

Niall

Hope this helps,

Niall
Assure Dynamics

MarlaZ
Registered: Apr 28 2010
Posts: 112
What we actually found (some coders helped me) that the line of code given to me as a fix was somehow duplicated elsewhere in the code, on Page 1. I never put it there but there it was!

Once we commented the first incident out it was fine. We left the code in which was connected to the date/time object.

Thanks for your help!

Marla