Formula text button not working

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered
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>"
Photo of Joey Zint

Joey Zint

  • 1,870 Points 1k badge 2x thumb

Posted 2 years ago

  • 0
  • 1
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>"
Photo of Joey Zint

Joey Zint

  • 1,870 Points 1k badge 2x thumb
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!

You would need to ask Support and let us know what they say.  
Photo of Joey Zint

Joey Zint

  • 1,870 Points 1k badge 2x thumb
Submitted and will let you know!
Photo of Jason

Jason

  • 1,406 Points 1k badge 2x thumb
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.