30 Replies Latest reply on May 25, 2017 1:28 PM by Joel_Geraci

    How to change the font of a specific variable?

    nathanm54209085 Level 1

      Rich text formatting is selected.

      this is a javascript question.

      This is a calculated field for a form field.

       

      I just want 1 variable, no array needed. I would like my variable to be bold, centered, and larger font.

       

      What I currently have... which do nothing...

       

      var val = getField("Products").value;

      val.alignment = "center";

      val.fontStyle = font.TimesB