locked
CRM 2013 Bold the label in form RRS feed

  • Question

  • Hi all,

    background: MS Dynamics CRM 2013

    I would like to make some labels in form in bold style,

    So I create a web resources in JS, and let it load when form_onLoad

    I am sure both function run while the form onload, should I get the label by getElementById, or something else?

    It is the coding below, please kindly advise!

    Thank you very much!

    function BoldLabel_OnLoad(LabelName)
    {
       document.getElementById(LabelName).style.fontWeight="bold";
    }

    function Form_onload()
    {
       BoldLabel_OnLoad("new_label");
    }

    Monday, October 13, 2014 9:14 AM

Answers

  • Hi,

    Please have a look on below link. 

    http://sumedha8.blogspot.in/2013/07/change-colour-of-fonts-sections-and-tabs.html

    Thanks!

    • Marked as answer by Doll Doll Monday, October 13, 2014 9:53 AM
    Monday, October 13, 2014 9:50 AM

All replies

  • Hi Doll,

     please see the following link, scroll to the end and see my post. same applies. instead of a borer, you have to find the label and use "font-weight"

    https://social.microsoft.com/Forums/en-US/611839cd-6a5f-4d71-be62-0dace67f1d98/how-to-put-border-on-section?forum=crm

    Regards,

    Jithesh

    Monday, October 13, 2014 9:31 AM
  • Hi,

    Please have a look on below link. 

    http://sumedha8.blogspot.in/2013/07/change-colour-of-fonts-sections-and-tabs.html

    Thanks!

    • Marked as answer by Doll Doll Monday, October 13, 2014 9:53 AM
    Monday, October 13, 2014 9:50 AM
  • Hi,

    Please have a look on below link. 

    http://sumedha8.blogspot.in/2013/07/change-colour-of-fonts-sections-and-tabs.html

    Thanks!

    Thank you! The problem is solved.

    I changed the "new_label" to "new_label_c", [new_label_c] is actually the id of the label!

    BoldLabel_OnLoad("new_label_c");

    Monday, October 13, 2014 9:55 AM