Hi All,
Background: Currently I have a content navigator search template. This search template has 5 search fields. I have below code to change the labels of these fields.
Current code:
aspect.before(ecm.widget.search.SearchForm.prototype, "_createSearchField", function (criterion, tablename, isChildCriterion, operatorHidden) {
if (this._searchTemplate.name === 'S1') {
if (criterion.name === 'XYZ') {
criterion.name = 'Custom label*';
}
}
});
Requirement: I need to show red colour asterisk(*) for these fields to indicate mandatory fields.
What I have done so far: I put asterisk(*) as part of labels for these. Yes of course it is showing default colour and not red colour.
Note: For some reason I am not using required property while creating or editing search template. Hence need to show explicitly red colour asterisk(*).
Regards,
Ravi
#IBMContentNavigator(ICN)#Support#SupportMigration