Discussions

Expand all | Collapse all

Formula text button not working

  • 1.  Formula text button not working

    Posted 07-06-2017 19:56
    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>


  • 2.  RE: Formula text button not working

    Posted 07-06-2017 20:00
    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>


  • 3.  RE: Formula text button not working

    Posted 07-06-2017 20:11
    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!



  • 4.  RE: Formula text button not working

    Posted 07-06-2017 20:22
    You would need to ask Support and let us know what they say.  


  • 5.  RE: Formula text button not working

    Posted 07-06-2017 20:32
    Submitted and will let you know!


  • 6.  RE: Formula text button not working

    Posted 04-11-2018 14:51
    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.