Global Binding for Calculations


i have form has several fields identical on each page of form. text , numeric fields, have been able create duplicates , set binding "global" - allowing subsequent fields auto populate once first of identical fields filled. problem arises when attempt use "global" selection have blanket fill calculation field.

it displays following error:
script failed (language formcalc; context xfa[0].formf[0].premiumtotal[0]) script=sum(premium[*]) error: accessor ' premium[*]' unknown.

yet, exact same formula works elsewhere.

any ideas?

thanks,
rebecca

this depends on structure or hierarchy of form. when give expression such sum(premium[*]), form engine try , search hierarchy tree starting @ location event took place. if event on premiumtotal, try , traverse elements in same level. if premium , premium on same level, works correctly. if not on same level , in fact defined in seperately named subforms (pages act subforms well), must give more detailed expression sum function - start common parent - example: sum(formf.premium[*])

btw, since have global binding set, fields named premium have same value - trying sum on same thing assigning value 1 of instances, sum(premium[*]) equal premium. way has been designed


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments