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!

apex.page.validate() NOT working for invalid date

ApexMeisterMar 18 2021

I'm using apex 20.2 and universal theme.
I have the page below where I entered invalid date and as soon as the cursor moves out of the date i can see the error message.
My issue is I have a button on the page that has JS DA where I have the code below and the apex.page.validate is return true.
I also tried to use the browser console to check the value and its returning true.
if any required items are NOT specified, this command return false.
if (!apex.page.validate()) {
showError('Please correct error(s)','N');
return;
}
// do something
image.png

This post has been answered by hari-Oracle on Mar 19 2021
Jump to Answer
Comments
Post Details
Added on Mar 18 2021
1 comment
861 views