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!

JS to stop execution if page.submit fails in DA

ApexMeisterMar 7 2017 — edited Mar 8 2017

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

This post has been answered by John Snyders-Oracle on Mar 8 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 5 2017
Added on Mar 7 2017
5 comments
539 views