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!

How to hide the mandatory (asterik) icon as well as calendar icon

VivRichardsAug 17 2017 — edited Aug 17 2017

Hi

My requirement is to hide a date picker based on radio active button item value. I am using Oracle apex 5.0

I am able to hide the text and label by a dynamic action through Java script but unable to hide the asterik and iconpicture1.PNGCapture.PNG

How can I achieve this

I am using the following and it hides the label and item

if ($v('P611_PURC_GEN_BOTH') == 'N')

{

$('label[for=P611_START_DATE],#P611_START_DATE,#P611_START_DATE_IMG').hide();

}

The Inspect element using Google chrome for calendar icon and asterik as below

<span class="a-Icon icon-asterisk"></span>

<span class="a-Icon icon-calendar"></span>

Related images as above where if option purchaser is selected then start date is displayed fully

and when option none is selected it must hide the start date which it does but the icons appear

Thanks

picture1.PNG

This post has been answered by VivRichards on Aug 17 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 14 2017
Added on Aug 17 2017
2 comments
267 views