Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago - last edited 2 hours ago
Hello @Ajaychethi ,
Means you have to set label bold on selection of particular value from selectbox ?
You can try onchange catalog client script :
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
var element = g_form.getControl('bold_test')
if (element) {
var label = element.closest('.form-group').querySelector('label');
if (newValue == 'Yes') {
if (label) {
label.style.fontWeight = 'bold';
}
} else {
if (label) {
label.style.fontWeight = '400';
}
}
//Type appropriate comment here, and begin script below
}
}
If this helps you then mark it as helpful and accept as solution .