Indicating mandatory UI fields with the web UI framework
The web UI framework provides a CSS class which allows an application to indicate a field as mandatory in UI screens. Mandatory fields in the UI are indicated or marked using an asterisk symbol ( * ).
To indicate a field as mandatory, include the sc-mandatory class in the label configuration. The sc-mandatory class is defined in the platform.css file located in the INSTALL_DIR/repository/eardata/platform_uifwk/version/war/platform/css directory, where version is the Sterling Application Platform version being consumed by the application.
Sample Ext JS config for a label:
{
xtype: "label",
sciId: "lblClosedOn",
text: "Closed On",
cls: "sc-mandatory"
}