Setting field values in UI page to bold

samadam
Kilo Sage

I am trying to set field values in UI page to bold, I want the labels to just be the same but only the field values bold.How can I do this?

1 ACCEPTED SOLUTION

Add this:

 

<strong>This is bold text</strong>

around the text you want bolded.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

5 REPLIES 5

Ashutosh Munot1
Kilo Patron
Kilo Patron

Can you show ur UI page HTML part.

 

Thanks,
Ashutosh

<style type="text/css">

body{
font-family: "Arial" !important;
font-weight: 300 !important;
font-size: 200%; !important;
line-height: 110% !important;
}

</style>

<div class="container-fixed">
<j2:forEach items="$[arry]" var="jvar_rec">
<j2:if test="$[jvar_counter &lt; 4]">
<j2:set var="jvar_counter" value="$[jvar_counter + 1]"/>
</j2:if>

<g2:evaluate jelly="true">
var doc =new GlideRecord('u_test');
doc.addQuery('sys_id', jelly.jvar_rec);
doc.query();
</g2:evaluate>
<j2:if test="$[doc.next()]">
<div class="col-xs-4">

<div>Time: $[doc.u_rest_time] </div>
<div>Style: $[doc.u_style] </div>
<div>Temp: $[doc.u_temp] </div>

 

The bolded ones are the values that needs to appear bold.

Add this:

 

<strong>This is bold text</strong>

around the text you want bolded.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

HI,

 

See below script:

<div>Time: <strong>$[doc.u_rest_time]</strong> </div>
<div>Style: <strong>$[doc.u_style] </strong></div>
<div>Temp: <strong>$[doc.u_temp] </strong></div>

 

Thanks,
Ashutosh