Forum Discussion

ZintJoseph's avatar
ZintJoseph
Qrew Captain
8 years ago

Formula text button not working

Trying to create a url edit button in a record for mobile phone use....

Not sure what I am missing

My code below


"<a class=\"Vibrant Success\" URLEncode(URLRoot() & "db/" & Dbid() & "?a=er&rid=" & [Record ID#])>Start Equipment PM</a>
  • try this templated syntax

    var text URL = URLRoot() & "db/" & Dbid() & "?a=er&rid=" & [Record ID#];
    var text Words = "Start Equipment PM";


    "<a class=\"Vibrant Success\"a href=" & $URL & ">" & $Words & "</a>
  • Yep that worked and shows up great in the desktop view but just shows up as a link on the mobile...was hoping for it to show up as a green button

    It is funny that icons show up on the mobile!

  • JasonJohnson's avatar
    JasonJohnson
    Qrew Assistant Captain
    Thanks Mark, I forgot the 'a' right before the href on a simple button. funny how you forget the simple things when working in the complex.