Thank you Vjay!One step ahead..I use your script,does not genarate any error and give me the amount os the first(default) row.But when I add another instance the amount remain the same(as first row).I am using the script: sum(form1.page1.details.detail[*].amount)Also I tried another script without ...