Happy New Year!!!
So, long story short.. (maybe )
LAY OF THE LAND
We have a form with a repeating section.
In the repeating section there are four controls.
The two of primary concern for this question are a single line textbox (overdraftAmount) control and a yes/no (managerApproved) control.
The overdraftAmount textbox accepts a currency value, the managerApproved yes/no, hmmm, you know what that does
When currency values are typed into the overdraftAmount textbox they are summed up in another textbox, totalOverdrafts. < no issues here. We have a second textbox totalOverdraftAmountApproved that needs to conditionally sum the values in the overdraftAmount textbox if the managerApproved yes/no control is checked, and vise versa when it is unchecked.
Clear as mud?
THE QUESTION
How to conditionally sum up the values in a single line textbox when an associated checkbox is checked/unchecked.
I'm including a screen capture that may assist us in our hunt for truth and knowledge