Forum Discussion
JeffPeterson1
4 years agoQrew Captain
JeffPeterson1
4 years agoQrew Captain
Hi Jennifer, I'm doing something similar and it still works fine for me.
Try this code:
var text ButtonWords = "Save and Submit";
var text URLONE = "https://https-ourQBInternalEOTIThankYouPage&ifv=1";
// Begin button style
var text bgcolor = "#8ab3d1";
var text txtcolor = "white";
var text style = "style=\"text-decoration: none; width: 150px; 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 class='SaveBeforeNavigating'" & $style & " href=" & $URLONE & ">" & $ButtonWords & "</a>"
------------------------------
Jeff Peterson
------------------------------
Try this code:
var text ButtonWords = "Save and Submit";
var text URLONE = "https://https-ourQBInternalEOTIThankYouPage&ifv=1";
// Begin button style
var text bgcolor = "#8ab3d1";
var text txtcolor = "white";
var text style = "style=\"text-decoration: none; width: 150px; 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 class='SaveBeforeNavigating'" & $style & " href=" & $URLONE & ">" & $ButtonWords & "</a>"
------------------------------
Jeff Peterson
------------------------------