You can create a report of radio buttons with APEX_ITEM
check this post for an example:
ABD - DBA wrote:
I'm trying to create a custom color picker as Apex color picker has tooo many colors. I thought a radio button would work if I could program the text to also display the color, but the following sql shows the formatted text in the result.
SELECT '<font color="'||value2||'"><b>'||value||'</b></font>' d, value r FROM lov where type='COLOR'
I know I can make text different colors in a report using this technique.
fontelement has been deprecated for many years, is now obsolete, and must not be used by authors.
<span style="color: #00FFFF; font-weight: bold;">Aqua</span>
That doesn't work either. I'm still getting the syntax, and not the color.
SELECT '<span style="color: '||value2||'; font-weight: bold;">'||value||'</span>' d, value r FROM color ;
I think I need to change to a select list, as I really have to many colors for a radio button. The select list is ignoring the CSS syntax as well. All of the items are ignoring the span syntax.
This is not a report, it's just an "item" of a form.
Ok, I think I found solution using Dynamic Action with a Select List. Create DA on item, set true action to Set Style, and put &P2_COLOR_ID. for value...the style was background-color. The odd thing was I had to set the item Page Action to "Redirect and Set Value" for it to work.
Now, after they select a color from list, the background changes color, and I can constraint the select list to not show a color already in use.
Is it just me, or do Oracle forums sucks. keeps logging me out, doesn't remember me half the time...