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!

Execute Validation after Submit with Javascript

TobiPMar 5 2014 — edited Oct 25 2023

Hi guys!

This is a strange problem: I am submitting the page with the usual javascript function:

apex.submit('MY_REQUEST');

Now it just occurred to me, that this function doesn't execute the default validation... I didn't notice this before, because I usually validate with js before the submit process.

But I also want to take the standard validation to take place anyhow.

So just to figure this out, I created a normal page button with standard submit functionality. THAT calls

javascript:submit('P100_SUBMIT_BUTTON'); // the item name, not the request!

... and validations are executed normally!

But what if I don't have an item, that is set to "execute validation" like that button is?

I have looks around in the APEX-documentation - the apex.submit() function doesn't mention any parameter for that reason - and in quite a few older threads, they mention the function doSubmit() ... is that deprecated?

We are using APEX 4.2.1

Thanks for any help in advance,

with best regards,

Tobi

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2014
Added on Mar 5 2014
0 comments
477 views