I have a tabular form and I want to calculate the total values in each row and compare it to another derived total field for validation. Can someone offer a quick solution for this since I am relatively new to apex? I want to total the Monday thru Sunday columns on each row once a user clicks submit and validate that the total being submitted for each row does not exceed the weekly hours for that row on this tabular form. The total column shows the correct amount after submitting because its in the table in the database. If I enter 4 in the Tuesday column of the first row then the total should be 8 and I need to validate that number against the weekly hours before updating the table. Thanks.
