Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to calculate the total of IG column dynamically and validate before submitting

Navyashree K CJan 6 2023

Hi ,
I have IG with columns 'Reserved' and 'Booked'. Total of these columns should not exceed to 'Total Capacity' field. When I update or insert the value to the IG Total(Reserved+Booked) should be calculate and validate against 'Total Capacity' field.
Now I am trying to calculate total using JavaScript but it getting calculated on stored in the hidden itemonly if you tab out. If you don't tab and click on Save then the validation will be failed.

Comments
Post Details
Added on Jan 6 2023
2 comments
261 views