6 Replies Latest reply on Aug 16, 2011 12:28 PM by Lon Winters

    Can't bold Text... why not?

    Dan74 Level 1

      I've had issues with this in the past and I just can't figure it out.

       

      I've got a dynamic text field that I want to sometimes be bold, sometimes not. It's called "myTextField"

       

      I'm sending it a variable called "myText" and trying to bold it as follows:

       

      myTextField.text = "<B>" + myText + "</B>"

       

      - The text field has the font embedded.

      - I have some regular AND bold text in the text field in authoring

      - The text field is set to receive HTML text in properties.

       

      But it keeps putting "<B>" right in the text field before my variable and "</B>" after. What am I missing / not getting here?

       

      I know I've done this before, but can't find where. Any input appreciated. Thanks,

      Dan P.