Help needed with FormCalc scripting in LiveCylce 8.0


i new whole form design functionality in adobe.  have form have created has multiple fields calculating off each other.  have managed fields calculate correctly, i'm having trouble figuring out correct formula 1 field.

 

after/during field 3 calculation, need value return 1000.00 if greater 1000.00 else return field 3 amount.

 

formula

current

calculations

correct calculation

example 1

correct calculation

example 2

field 1 - annual salary (user enters)100000.00100000.0030000.00
field 2 - weekly salary (calculation is: field 1 / 52)1923.071923.07576.92
field 3 - benefit maximum (calculation is: field 2 * .60)1153.841000.00346.15
field 4 - hidden field (calculation is: field 3 - 100.00)1053.84900.00246.15
field 5 - monthly cost (calculation is: field 4 * .025)26.3422.506.15
field 6 - pay period cost (calculation is: field 5 * 12 / 26)12.1510.382.83

 

after/during field 3 calculation, need value return 1000.00 if greater 1000.00 else return field 3 amount.

 

any suggestions on how work?  tried setting using java scipt, when do, fields dissapear alltogether.



LiveCycle (Japan) でのその他のディスカッション


adobe

Comments

Popular posts from this blog

Help with codes to add 1 more shift register and add more to matrix LED

tcp client

Can't read sms using Thinker A7 communicate with Arduino