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!

Validation error messages with html codes?

AllenS.Jun 1 2021 — edited Jun 1 2021

Hi,
We have a validation wherein when errored out, we would like to display a message with a link for the user to click.
However, it seems that APEX renders any html codes in the Error Message field as text.
Is there anyway to do this?
APEX Version: 21.1
Validation Type: Function Body (returning Boolean)
Error Message: This account already exists. If you are the owner of this account, click <a href="f?p=&APP_ID.:13:&APP_SESSION.::NO::P13_BANK_ACCOUNT_NUM,P13_BANK_PARTY_ID,P13_BRANCH_PARTY_ID:&P21_BANK_ACCOUNT_NUMBER.,&P21_BANK_PARTY_ID.,&P21_BRANCH_PARTY_ID.">here</a> to claim ownership of the said account.
Display Location: Inline with Notification
Associated Item: ITEM_NAME
image.pngHere's a screenshot of the notification.
image.pngAnd this is how it looks like when I inspect the notification.
image.png
Regards,
Allen

This post has been answered by fac586 on Jun 1 2021
Jump to Answer
Comments
Post Details
Added on Jun 1 2021
3 comments
494 views