Sum multiple fields then multiply answer by 1.5


hi,

 

i have order form 3 boxes (box1,box2,box3).  numbers or quantities put these boxes(i.e. want order 1 of , 2 of these , cost $1.50 each).   need add numbers in 3 boxes , multiply $1.50.  can addition work won't recognize multiplier.  can me?

i use thing similar following js code in "calcuate" event of totalcost value goies .....

 

if (!box1.isnull && !box2.isnull && !box3.isnull) {

     this.rawvalue = (box1.rawvalue + box2.rawvalue + box3.rawvalue) * 1.5;

}



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


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support