I'm using apex 5.1, universal theme and 11g DB.
I have a page with a button that has JavaScript DA below
apex.page.submit("IMPORT");
alert("test");
During submit I have a page validation process.
Is there a way to stop the execution if the submit fails?
In this case I do not want to execute alert since the page validation fails.
Thanks