Discussions

Expand all | Collapse all

html with inserted field from QB

  • 1.  html with inserted field from QB

    Posted 12 days ago
    I'm trying to create a field in a Quickbase table that would have in the rich text SOURCE CODE an inserted field from the same table.

    For example instead of "Joe Blow" in the line below.... it would be [Client Full Name] field result (whatever name was in that same record)

    <p class="MsoNormal" style="line-height: normal;"><span style="font-size: 14px; font-family: Calibri;">Joe Blow,<br />

    Can this be done?  

    Jeff

    ------------------------------
    Jeff Elliott
    ------------------------------


  • 2.  RE: html with inserted field from QB

    Posted 10 days ago
    Hi Jeff,

    If you are looking to stylize the value in a field that you are using to capture data in a formula field that is absolutely possible in a Rich Text field. You would actually be able to do that using a code like what you posted the trick is you just need to make sure your formula links all the pieces together. In this instance you would drop in your styling in quotation marks and then use an ampersand & between the styled sections and your field reference. A simple example of how you could do this would be:

    "<div style=\"background-color:yellow;\">" & [Client Full Name]  & "</div>"

    The only difference as you add more styling is just keeping it in order.

    ------------------------------
    Evan Martinez
    ------------------------------