Formula text button not working

  • 0
  • 1
  • Question
  • Updated 7 months 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,508 Points 1k badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,436 Points 50k badge 2x thumb
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,508 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!

Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,436 Points 50k badge 2x thumb
You would need to ask Support and let us know what they say.  
Photo of Joey Zint

Joey Zint

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

Jason

  • 1,012 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.