I'm adding to a SmartSuite 9.5 Approach database and found some strange behavior. The view contains several checkboxes which are iterated through to calculate a value times the number of checkboxes.
Everything works fine until I add a repeating panel. I even eliminated the iteration to just test one box and it still behaves strangely.
Can anyone help me figure out what's going on?
Details:
In CheckBox1's Change event, I have:
CurrentView.Body.ReExam_Fees.text = (-(CurrentView.Body.chkReExam1.IsChecked + CurrentView.Body.chkReExam2.IsChecked))*70
What Happens:
I Browse the form with CheckBox1 & 2 unchecked. If I check CheckBox1, the ReExam_Fees still shows 0. When I UNcheck it, the ReExam_Fees changes to 70! When I set this event for CheckBox2, the same the would happen. Also tried this on MouseUp event. It's as if the calculated value is 1 step behind the actual checkboxes.
Strangely, even when using it as MouseUp event, the values change AFTER I click the mouse button down, not after I release it.
Please help! Thank you.
Everything works fine until I add a repeating panel. I even eliminated the iteration to just test one box and it still behaves strangely.
Can anyone help me figure out what's going on?
Details:
In CheckBox1's Change event, I have:
CurrentView.Body.ReExam_Fees.text = (-(CurrentView.Body.chkReExam1.IsChecked + CurrentView.Body.chkReExam2.IsChecked))*70
What Happens:
I Browse the form with CheckBox1 & 2 unchecked. If I check CheckBox1, the ReExam_Fees still shows 0. When I UNcheck it, the ReExam_Fees changes to 70! When I set this event for CheckBox2, the same the would happen. Also tried this on MouseUp event. It's as if the calculated value is 1 step behind the actual checkboxes.
Strangely, even when using it as MouseUp event, the values change AFTER I click the mouse button down, not after I release it.
Please help! Thank you.