If we have a requirement to show the asterisk next to selective control labels on the coach view ,we can achieve the requirement in two steps.
1.For each control label that needs the asterisk sign ,add the CSS class "myRequired" on the HTML attributes
2.
/*custom class ,select all the nodes and apply*/
.myRequired *.text.controlLabel:after {
content: "*";
color: #ff0000;
}
Note : Visibility setting of "Required " on a stock control also enables the asterisk
1.For each control label that needs the asterisk sign ,add the CSS class "myRequired" on the HTML attributes
2.
/*custom class ,select all the nodes and apply*/
.myRequired *.text.controlLabel:after {
content: "*";
color: #ff0000;
}
Note : Visibility setting of "Required " on a stock control also enables the asterisk
No comments:
Post a Comment