Forum Discussion
HamzaAhmed
5 years agoQrew Member
Hi Dan,
I have setup the IOL and have added the following to make a numeric value bold when viewing a record but it doesn't seem to be working. I only have the module.js page created as shown in the IOL setup
(function(){
//$("img[qbu=module]").remove();
//$("img[qbu=module]").hide();
var querystring=document.location.search;
if(/a=dr/i.test(querystring)) {
//DISPLAY RECORD PAGE
$("td.label:has(label.fieldLabel b:contains(Test Field))")
.next("td")
.wrapInner("<b></b>")
.css({fontSize: 20});
}
})();
I have setup the IOL and have added the following to make a numeric value bold when viewing a record but it doesn't seem to be working. I only have the module.js page created as shown in the IOL setup
(function(){
//$("img[qbu=module]").remove();
//$("img[qbu=module]").hide();
var querystring=document.location.search;
if(/a=dr/i.test(querystring)) {
//DISPLAY RECORD PAGE
$("td.label:has(label.fieldLabel b:contains(Test Field))")
.next("td")
.wrapInner("<b></b>")
.css({fontSize: 20});
}
})();
RyanStanford1
5 years agoQrew Captain
Hamza, is the label/fieldname for your field "Test Field"?
You would need to change the b:contains(Test Field) to contain the label you're searching for.
------------------------------
Ryan Stanford
------------------------------
You would need to change the b:contains(Test Field) to contain the label you're searching for.
------------------------------
Ryan Stanford
------------------------------