Average Rating of Numeric Fields


i have script running create average rating of several numeric fields called "numericfield127"

 

the scrip running this

 

topmostsubform.page2.avgrating::calculate - (formcalc, client)

 

 

// check divisor having value , not zero

 

 

if

(hasvalue(topmostsubform.page2.paragraph.totalrating) , topmostsubform.page2.paragraph.numberofitems<> 0) then

 

 

// perform division

 

 

page2.paragraph.totalrating / page2.paragraph.numberofitems

 

 

else

 

 

// display nothing

 

 

""

 

 

endif

 

i error each time fill out 1 of blank "numericfield127" boxes. had delete number of numeric fields , sure has it. do correct error?



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


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account