Can we make yes/No type variable name Bold
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
- Can we make Yes/no type variable bold .Can any one help me with this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago - last edited 4 hours ago
Hello @Ajaychethi ,
You can acheive this using catalog client script : onload
If this helps you then mark it as helpful and accept as solution .
Regards,
Aditya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Variable Label should become bold as i selected YES/NO type
- 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 :
If this helps you then mark it as helpful and accept as solution .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hello @Ajaychethi ,
As per your requirement, created Custom type Variable and added UI Macro into that..
Before Check :
After Checked :
UI Macro script :
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<input type="checkbox"
name="${jvar_name}"
id="${jvar_name}"
onchange="
g_form.setValue('${jvar_name}', this.checked ? 'true' : 'false');
document.getElementById('${jvar_name}_label').style.fontWeight =
this.checked ? 'bold' : 'normal';
" />
<label id="${jvar_name}_label" for="${jvar_name}">
Bold Variable
</label>
</j:jelly>
If my response helped mark as helpful and accept the solution.