i'm trying "wing it" create calculation. have 0 experience , noone ask @ work. calculation in mechanical permit. total determined number of feet x .05/ft. minimum amount $25. have fields of items , field of totals. have been able calculation work when field has number input, can't calculation work when "0" input. here have far.
if ((items[36] * .05) < 25)
totals = 25
elseif ((items[36] * .05) > 25)
totals = (items[36] * .05)
elseif ((items[36] * .05) < 0)
totals = 0
endif
i may not going correctly, i've been able come far. appreciated!
if ((items[36] * .05) < 25)
totals = 25
elseif ((items[36] * .05) > 25)
totals = (items[36] * .05)
elseif ((items[36] * .05) < 0)
totals = 0
endif
i may not going correctly, i've been able come far. appreciated!
try this....you missing 1 '=' in test condition on second elseif.
if ((items[36] * .05) < 25)
totals = 25
elseif ((items[36] * .05) > 25)
totals = (items[36] * .05)
elseif ((items[36] * .05) <= 0)
totals = 0
endif
if ((items[36] * .05) < 25)
totals = 25
elseif ((items[36] * .05) > 25)
totals = (items[36] * .05)
elseif ((items[36] * .05) <= 0)
totals = 0
endif
More discussions in LiveCycle pre-ES (6.x and 7.x) discussions
adobe
Comments
Post a Comment