Using the same validation/processing that I performed, based on this thread:
Calling an Oracle Function via Ajax for on the spot Validation Purposes in Oracle APEX v4.2.2
I now have a tabular form that can have 1 to n rows but when the user presses the "Apply" button, I need to perform this same type of validation, that I have, based on the thread above, i.e.:
An example set of rows might be like:
Col1 Col2 Col3 Col4
----------------------------
A 10 20 30
B 5 8 9
C 92 88 12
D 1 2 44
E 95 77 88
Based on the above scenario, when the user presses the "Apply" button, via a Dynamic Action/Ajax (apex.server.process) call, I need to iterate through each row, using the above four columns (no checkboxes used here, just select lists, to select column values), call my ajax process to check whether:
(Col2 > Col4) for all rows
and if so, return via javascript, an alert message to the user indicating that a problem was found with the data (i.e. INVALID response from apex.server.process).
I basically need to check this validation for all rows, prior to committing records to the database.
Ideally I would like to solve this via DA/Ajax/jQuery.