Formatting text in formula

Hello,
  I'm trying to find out how I can format parts of a dynamic text.
Ex: 
@myField = "you must have at least 70% of good answers"

How to format the "70%" in bold/red  (of course, it could be a dynamic field value like {Database.GoodAnswersPercent}=70%)

thanks,

FX


Answer this question

Formatting text in formula

  • scubabeme

    If I do that, I must split my dynamic text into small parts, each part is a text object within its specific format. In my example, I must have 3 text objects, one for the begining, one for the "70%" in bold/red and one for the end of my text.

    Is there a solution to format parts of a text with script formula to avoid splitting it

    Thanks

  • bambag

    No, we don't have the other solution.



  • DavePS

    You can make a formula for your dynamic text and do following steps to format your dynamic text.
    1. Insert a text object
    2. Insert the formula into the text object at the location you want
    3. Highlight the formula
    4. Right click on it
    5. Select Text Formatting to format your formula only 

  • Formatting text in formula