Hello,
i'm using LiveCycle Designer 8.05 to create forms. Everything works fine, but few hours ago javascript gone mad :)
I'm creating "New Form", put "Table" on this form. Making numeric fields in its cells, but when i'm trying to make autocalculated field with such code:
[img]http://img118.imageshack.us/img118/6189/tablecf9.png[/img]
p5t4r1c2.rawValue = p5t4r2c2.rawValue + p5t4r3c2.rawValue + p5t4r4c2.rawValue + p5t4r5c2.rawValue + p5t4r6c2.rawValue + p5t4r7c2.rawValue + p5t4r8c2.rawValue; if (p5t4r1c2.isNull) p5t4r1c2.rawValue = 0;
where "p5t4r1c2" and similar namig is names of numeric fields in table ...
but strange thing is that seems like i can't access this fields.
Even if i just type "p5t4r1c2" and put dot intelisense doesn't appear.
There're also several warnings that wasn't showed before, like
Bad value: '' of the 'use' attribute of 'field' element 'p5t4r1c1'. Default will be used instead.
Bad value: '' of the 'use' attribute of 'field' element 'p5t4r1c2'. Default will be used instead.
Bad value: '' of the 'use' attribute of 'ui' element ''. Default will be used instead.
Bad value: '' of the 'use' attribute of 'ui' element ''. Default will be used instead.
Bad value: '' of the 'use' attribute of 'numericEdit' element ''. Default will be used instead.
Bad value: '' of the 'use' attribute of 'numericEdit' element ''. Default will be used instead.
Bad value: '' of the 'use' attribute of 'field' element 'p5t4r1c1'. Default will be used instead.
Bad value: '' of the 'use' attribute of 'field' element 'p5t4r1c2'. Default will be used instead.
Bad value: '' of the 'use' attribute of 'ui' element ''. Default will be used instead.
I dunno what happen, maybe i changed something in Settings or something, but i can't find solution and before everything worked more then fine.
Thanks in advance for help.
As cells belong to different rows that are subfroms you should use the complete path to a cell like the following: Table1.Row1.p5t4r1c1.rawValue
Regards,
Andrey.