If total exceeds 40 then allow other fields to populate?
I have seven fields ST1+ST2+ST3+ST4+ST5+ST6+ST7 and the eighth field totalST calculates the total of the ST fields. What I'm trying to figure out is, if the total is over 40 in totalST field then allow the other fields to populate the balance of the total.
Example: If totalST = 45 then 5 would populate into OT1, if totalST is 40 then OT1 would show 0 and so on. Can this be done? With javascript? Can someone provide an example of one I can try? Thanks folks.
