Skip to main content
Question

Buttons in Email Notifications

  • December 16, 2021
  • 0 replies
  • 144 views

GeorgeBramhall2
Forum|alt.badge.img+11
What kind of button or link in a Notification email should I use? I want the QB user to be able to click on a button within the email and the QB user is directed to a form in Quick Base where they can then take action. 

What does the formula look like?


------------------------------
George Bramhall
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+22
You can just insert a formula URL field into the Notification.   But won't look very fancy as a button it will look like a hyperlink.

If you want a button appearance then the code would be like this from Kirk's Magic Buttons app.


var text URL = (insert URL here)


var text ButtonWords = "Insert button words here";

// Begin button style
var text bgcolor = "#34A853";
var text txtcolor = "white";
var text style = "style=\"text-decoration: none; width: 250px; text-align: center; background:" & $bgcolor & "; border-radius: 5px; padding: 8px 10px; color: " & $txtcolor & "; display: inline-block; font: normal 700 24px/1 \"Calibri\", sans-serif; text-shadow: none;";
// End button style

"<a " & $style & " href=" & $URL & ">" & $ButtonWords & "</a>"




------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------