Forum Discussion
KellyBianchi
6 years agoQrew Assistant Captain
Every record was duplicated. I'm not sure why. Oddly enough, I switched it out for code I had for another save button, which is essentially the same, and it was fine. Here's what I used...
var text bgcolor = "#4b72b0";
var text txtcolor = "white";
var text style = "style=\"text-decoration: none; background:" & $bgcolor & "; border-radius: 5px; padding: 10px 24px; margin-bottom:5px; width: auto; font-weight: normal; font-size: 12px; text-align: center; display: inline-block; color: " & $txtcolor & "; font: normal 700 24px/1 \"Calibri\", sans-serif;";
// End button style
"<a " & $style & " onclick='DoSaveAdd()'href='#'>Submit</a>"
Not sure why this would make a difference, but it did.
var text bgcolor = "#4b72b0";
var text txtcolor = "white";
var text style = "style=\"text-decoration: none; background:" & $bgcolor & "; border-radius: 5px; padding: 10px 24px; margin-bottom:5px; width: auto; font-weight: normal; font-size: 12px; text-align: center; display: inline-block; color: " & $txtcolor & "; font: normal 700 24px/1 \"Calibri\", sans-serif;";
// End button style
"<a " & $style & " onclick='DoSaveAdd()'href='#'>Submit</a>"
Not sure why this would make a difference, but it did.