Disable the symbol of the required field of the label of inputtext

Requirement – Disable the symbol of the required field of the label of inputtext
Solutions- add the following code in your css skin file

AFRequiredIcon:alias
{
    content:inhibit;
}

Note – It will disabled * icon entire application

Now if you want to hide * icon only for particular inputText

then add add the ‘styleClass’ attribute in inputText

<af:inputText label="First Name" id="it1" styleClass="requiredField" required="true"/>

In the css skin file, add a new class style as follows:

.requiredField span

{
  visibility: hidden;
}

happy learning with Vinay in techartifact