I'm using apex 5.1 and universal theme.
I need to submit a page wait until its done and if there is an error do something.
Similar in concept with apex.server.process where it calls something and once its done it goes back and continue the process.
I basically have a save button that would save the data, do some posting and if an error is found display a report.
Thanks