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!

What's the best practice to do a immediate field validation and keep the the cursor remain if validation failed?

VincelogicMay 22 2023 — edited May 22 2023

APEX has the native validation after submit, but sometimes the requirement needs immediate (read-time) validation,

For example, A column(or Page Item): COL_A, and another column: COL_B is depentdent on COL_A,

So COL_A must passed validation first, then COL_B will then has the chance to be input.

What is the best practice to do the validation for COL_A which is:

showing error alert and keeping cursor in COL_A when validation falied?

Somewhat it's like making a equivalent solution for When-Validate-Item trigger in Forms.

Comments
Post Details
Added on May 22 2023
0 comments
449 views