Currency fields being summed - not updating when one value is cleared

SandyL83
Tera Guru

Hello,

I have several currency fields on a form, all being summed into another currency field

So:

Currency 1 - $10

Currency 2 - $10

Total: $20

 

WHat is happening is if someone just deletes the value from Currency 1 or Currency 2 fields, the total stays at $20. 

In order for the Total field to be updated, they need to actually but $0 in the Currency 1 or 2 fields. 

 

is this normal behavior for currency fields? or does something need to be added to the client scripts I have which do the calculations?

 

Thanks

1 ACCEPTED SOLUTION

@SandyL83 

try after removing below highlighted line of code from your onchange client scripts.

SwapnaAbburi_0-1694019540801.png

 

View solution in original post

4 REPLIES 4

Swapna Abburi
Mega Sage
Mega Sage

@SandyL83 

Have you written onchange client scripts on change of every currency field to calculate Total? or used an Onsubmit client script? 

Hi, i've done on Change scripts

@SandyL83 

try after removing below highlighted line of code from your onchange client scripts.

SwapnaAbburi_0-1694019540801.png

 

THat did the trick! THank you!!!!