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!

Dropdown with HTML

AnnelizeFMar 20 2024

APEX 21.1 in the cloud with Oracle 19

Hi

Does anyone have experience of adding html tags to part of the ‘description’ in a list of values?

For example, if this is the dropdown list in my application, they want to display the ‘No Address’ value in red, bold.

SELECT person_forename || ' ' || person_lastname || 
       CASE has_accomm_ind 
           WHEN 1 THEN '' 
           ELSE ' - No Address' 
       END
 FROM person
 

With a result set that would look something like this, displayed in a ‘Select List’ page item

Jasmine Gray - No Address
Karina Pace
Danny - No Address
Johan Fletcher - No Address
Dawn Daws - No Address
Molly Foxtrot
James Gill

Thanks in advance,

Annelize

This post has been answered by InoL on Mar 20 2024
Jump to Answer
Comments
Post Details
Added on Mar 20 2024
8 comments
1,044 views