Forum Discussion
JenniferJuhasz
3 years agoQrew Cadet
Hi everyone,
Still looking for a response. Does anyone know if this no longer functions in QB? I'm also not getting responses from Customer Support.
Thank you,
Jen
------------------------------
Jennifer Juhasz
------------------------------
Still looking for a response. Does anyone know if this no longer functions in QB? I'm also not getting responses from Customer Support.
Thank you,
Jen
------------------------------
Jennifer Juhasz
------------------------------
- JeffPeterson13 years agoQrew Captain
- JeffPeterson13 years agoQrew CaptainHi 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
------------------------------- DanLadner13 years agoQrew TraineeYep, I think the
class='SaveBeforeNavigating'
piece is what's missing in OP's code.
Here's another (very similar, but simpler) example:
var text rdrURL = "www.redirectPage.com"; "<a class='SaveBeforeNavigating' href='" & $rdrURL & "'>Submit</a>"
------------------------------
Dan Ladner
------------------------------