Hi,
We have a form that uses an application item's value to determine what input fields are required. Using page validations we are able to enforce those required fields.
The problem is getting the required field asterisk graphic to display conditionally in the field label.
We've tried the suggestion in
4028011
It works but displays a text asterisk. We need it to display the graphic for the asterisk.
To describe assume have the following items:
APP_1 (application item)
P1_A_ASTERISK
P1_A
The default value for the P1_A_ASTERISK is a pl/sql function that checks APP_1 and sets P1_A_ASTERISK to '<img src="#IMAGE_PREFIX#requiredicon_status2.gif" alt="Required Field" />' if P1_A should be required.
If P1_A_ASTERISK is defined as hidden we get the html text <img_src.... in the P1_A label.
If P1_A_ASTERISK is defined as display as text, we see the graphic in the P1_A label.... that's good. But we also see the P1_A_ASTERISK item which we do not want.
Any suggestions on a way to dynamically display the required field graphic in certain fields label?
Thanks,
Nann