29
Views
6
Comments
Solved
Is it possible to remove the * in case of mandatory input fields?

I want to remove the asterisks from the input fields, but I could not find the corresponding CSS class.

Solution

Hello again:

These are the classes that generate the * and put it in read. If you put:

[data-label].mandatory-label:after {  
                  content: "";  

}

Your issue must be solved. 

Best regards, 

Ana

Solution

Hi @shooouse ,


You can also override the css like this, add this in your custom theme,


[data-label].mandatory:after {

    content: "*";

display: none;

}


Regards,

Wasimkhan S

Hello shooouse, 

In each input you have a property called "Mandatory". Set it to false and the * will disappear. 

Best regards,

Ana

Hi, I want that it stays mandatory, I just don't want to show the *.

BR

Solution

Hello again:

These are the classes that generate the * and put it in read. If you put:

[data-label].mandatory-label:after {  
                  content: "";  

}

Your issue must be solved. 

Best regards, 

Ana

Solution

Hi @shooouse ,


You can also override the css like this, add this in your custom theme,


[data-label].mandatory:after {

    content: "*";

display: none;

}


Regards,

Wasimkhan S

I wanted to achieve that, thank you @Ana Agostinho @Wasim Khan 

Hi Shooouse ,

Yes you can remove this  " * " by removing by Input Widget from label properties in the case of mandatory field .

It will definitely work .

Let me know if you have any problem after this .

Thanks 

Arif .


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.