I am rarely new to LiveCycle and Java Scripting and needs some help.
I need to know how to script a field based on the percentage of another.
I currently have points.rawvalue =percentlost.rawValue / .005 * 10 , that works however if the percentlost.rawValue is less than .005 I do not want it to multiply by 10.
Basically i am giving points based on a percentage lost and my points system is.
0 - 0.4% = 0
0.5 % -0.9% * 10
anything over 1& * 20
Hope someone can help.