10 Replies Latest reply on Nov 16, 2012 8:30 AM by BarrierTech

    Custom Calculation Help!!!


      Good Afternoon All,


      I am having problems with writing a custom calculation script. I have got it close but I am missing something.


      I need the calculation to take the total of the fields and if it doesn't add up to 100 then it rounds up to 100 if it over over 100 then it displays the actual value. Then it needs to be multipled by 4.5 then times 6.



      Here is what I have so far


      event.value=(this.getField("L BUMP").value + this.getField("FACE").value + this.getField("R BUMP").value) * this.getField("HEIGHT").value /144 >100?" ":"100"; * 4.5 * 6


      Thank you!