Forum Discussion

ProjectsForce1's avatar
ProjectsForce1
Qrew Trainee
6 years ago

Formula Rich Text

Having an issue with the mobile app on Android. URLs give an error of try again. I want to try a formula rich text field to point to a URL field in the record the button is located. 

I found this in the Magic Buttons App

"<a class=\"Vibrant Success\" href=\"http://quickbase.com/webinars/\">16B. Go to some URL</a>"

Trying to point this to the field in the record that contains the URL I need to visit when pressed.

------------------------------
ProjectsForce
------------------------------
  • Try this

    var text URL = [my url field];
    var text Words = "Words to click";

    <a class='Vibrant Success'" & " a href=" & $URL & ">" & $Words & "</a>"


    // in place of the word Success

    also try

    Danger (which gives red)
    Snowy (which gives white)
    Alert ( which gives yellow)
    Primary and Success both give blue

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • ProjectsForce1's avatar
      ProjectsForce1
      Qrew Trainee
      What if you needed it to open in a new tab? I know to use Target="_blank", but not sure where to put it.

      ------------------------------
      ProjectsForce
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        not tested, but try this

        <a 'target=_blank' class='Vibrant Success'" & " a href=" & $URL & ">" & $Words & "</a>"

        ------------------------------
        Mark Shnier (YQC)
        Quick Base Solution Provider
        Your Quick Base Coach
        http://QuickBaseCoach.com
        mark.shnier@gmail.com
        ------------------------------