Forum Discussion

MichaelTamoush's avatar
MichaelTamoush
Qrew Captain
5 years ago

Formatting text

I'm not real experienced with html and rich text but I have been using this formula for showing text with different formatting:

"<span style='font-size:12px;color:#e61515'><i>words go here</span>"

How do I modify so that instead of words, I can reference one of my text fields? Obviously, If I just put [text field] it literally shows that on the page.

------------------------------
Mike Tamoush
------------------------------
  • np
    you have to end the quotes and use the & which means to concatenate and then restart the quotes.

    "<span style='font-size:12px;color:#e61515'><i>" & [my field goes here] & "</span>"

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
  • np
    you have to end the quotes and use the & which means to concatenate and then restart the quotes.

    "<span style='font-size:12px;color:#e61515'><i>" & [my field goes here] & "</span>"

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • MichaelTamoush's avatar
      MichaelTamoush
      Qrew Captain
      Thanks as always! I need to learn more about that stuff!

      ------------------------------
      Mike Tamoush
      ------------------------------
      • RyanStanford1's avatar
        RyanStanford1
        Qrew Captain
        This may be deprecated HTML... but I learned that you should also have the closing </i> tag...

        "<span style='font-size:12px;color:#e61515'><i>" & [my field goes here] & "</i></span>"

        little difference, and newer versions of HTML may be able to read it without the closing tag... just my 2 cents.

        ------------------------------
        Ryan Stanford
        ------------------------------